diff --git a/hosts/tsuki/configuration.nix b/hosts/tsuki/configuration.nix index 0103ae7..fd45628 100644 --- a/hosts/tsuki/configuration.nix +++ b/hosts/tsuki/configuration.nix @@ -3,6 +3,8 @@ imports = [ (modulesPath + "/profiles/qemu-guest.nix") + ./services/atuin.nix + ./services/borg.nix # ./services/calibre.nix ./services/gitea ./services/grafana diff --git a/hosts/tsuki/services/atuin.nix b/hosts/tsuki/services/atuin.nix new file mode 100644 index 0000000..399c815 --- /dev/null +++ b/hosts/tsuki/services/atuin.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + services.atuin = { + enable = true; + openRegistration = false; + }; +} diff --git a/hosts/tsuki/services/nginx/default.nix b/hosts/tsuki/services/nginx/default.nix index ecb485f..44b8cbf 100644 --- a/hosts/tsuki/services/nginx/default.nix +++ b/hosts/tsuki/services/nginx/default.nix @@ -171,12 +171,11 @@ proxy_ssl_verify off; ''; }) - (proxy ["hydra"] "http://localhost:${s ports.hydra}" {}) + (proxy ["hydra"] "http://localhost:${s config.services.hydra.port}" {}) (proxy ["atuin"] "http://localhost:${s config.services.atuin.port}" {}) (proxy ["vpn"] "http://localhost:${s config.services.headscale.port}" { locations."/".proxyWebsockets = true; }) - (proxy ["hydra"] "http://localhost:${s config.services.hydra.port}" {}) ] ++ (let stickerpickers = pkgs.callPackage ../matrix/maunium-stickerpicker.nix { inherit (inputs) maunium-stickerpicker secrets;