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