ntfy: fix directory

This commit is contained in:
2026-02-10 18:47:17 -05:00
parent 0f1e249127
commit 35f0c08ee2

View File

@@ -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}"
];
}