diff --git a/services/ntfy.nix b/services/ntfy.nix index fbbb543..84afd94 100644 --- a/services/ntfy.nix +++ b/services/ntfy.nix @@ -7,7 +7,7 @@ { imports = [ (lib.serviceMountWithZpool "ntfy-sh" service_configs.zpool_ssds [ - "/var/lib/ntfy-sh" + "/var/lib/private/ntfy-sh" ]) ]; @@ -19,6 +19,8 @@ listen-http = "127.0.0.1:${builtins.toString service_configs.ports.ntfy}"; behind-proxy = true; auth-default-access = "deny-all"; + enable-login = true; + enable-signup = false; }; }; @@ -27,6 +29,6 @@ ''; systemd.tmpfiles.rules = [ - "Z /var/lib/ntfy-sh 0700 ${config.services.ntfy-sh.user} ${config.services.ntfy-sh.group}" + "Z /var/lib/private/ntfy-sh 0700 ${config.services.ntfy-sh.user} ${config.services.ntfy-sh.group}" ]; }