ntfy: fix directory
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(lib.serviceMountWithZpool "ntfy-sh" service_configs.zpool_ssds [
|
(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}";
|
listen-http = "127.0.0.1:${builtins.toString service_configs.ports.ntfy}";
|
||||||
behind-proxy = true;
|
behind-proxy = true;
|
||||||
auth-default-access = "deny-all";
|
auth-default-access = "deny-all";
|
||||||
|
enable-login = true;
|
||||||
|
enable-signup = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -27,6 +29,6 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
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}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user