From f9bd98bc5835fc7a39a284ec2154d3b629b4540a Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:42:57 +0200 Subject: [PATCH] Update --- hosts/modules/server/ntfy-sh.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/modules/server/ntfy-sh.nix b/hosts/modules/server/ntfy-sh.nix index 2692f83..cdd7879 100644 --- a/hosts/modules/server/ntfy-sh.nix +++ b/hosts/modules/server/ntfy-sh.nix @@ -5,13 +5,12 @@ let port = 8082; url = "https://" + hostname; in { - environment.etc."ntfy-sh/auth" = { text = ""; }; services.ntfy-sh = { enable = true; settings = { base-url = url; listen-http = "127.0.0.1:${toString port}"; - auth-file = "/etc/ntfy-sh/authfile"; + auth-file = "/var/lib/ntfy-sh/user.db"; auth-default-access = "deny-all"; behind-proxy = true; };