From b76acf3cbcdd0d47ce5ee3ce09d765ed2469cfe4 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 5 Feb 2024 21:24:43 -0500 Subject: [PATCH] sora: init atuin server --- hosts/sora/services/atuin.nix | 14 ++++++++++++++ hosts/sora/services/default.nix | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 hosts/sora/services/atuin.nix diff --git a/hosts/sora/services/atuin.nix b/hosts/sora/services/atuin.nix new file mode 100644 index 0000000..f86ef13 --- /dev/null +++ b/hosts/sora/services/atuin.nix @@ -0,0 +1,14 @@ +{lib, ...}: { + networking.firewall.allowedTCPPorts = [8888]; + services.atuin = { + enable = true; + openRegistration = true; + openFirewall = true; + host = "100.104.42.96"; + port = 8888; + database = { + createLocally = lib.mkForce false; + uri = "postgres://atuin:atuin@100.94.214.100:5432/atuin"; + }; + }; +} diff --git a/hosts/sora/services/default.nix b/hosts/sora/services/default.nix index 10b7e2a..8e1cf89 100644 --- a/hosts/sora/services/default.nix +++ b/hosts/sora/services/default.nix @@ -8,9 +8,10 @@ ./tailscale.nix ./croc.nix ./glances.nix + ./atuin.nix ### game servers - ./terraria.nix + # ./terraria.nix # ./factorio.nix # ./minecraft.nix ./foundryvtt.nix