refactor(tmpfiles): migrate 12 services to deferred serviceFilePerms
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
(lib.serviceMountWithZpool "ntfy-sh" service_configs.zpool_ssds [
|
||||
"/var/lib/private/ntfy-sh"
|
||||
])
|
||||
(lib.serviceFilePerms "ntfy-sh" [
|
||||
"Z /var/lib/private/ntfy-sh 0700 ${config.services.ntfy-sh.user} ${config.services.ntfy-sh.group}"
|
||||
])
|
||||
];
|
||||
|
||||
services.ntfy-sh = {
|
||||
@@ -28,7 +31,4 @@
|
||||
reverse_proxy :${builtins.toString service_configs.ports.ntfy}
|
||||
'';
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"Z /var/lib/private/ntfy-sh 0700 ${config.services.ntfy-sh.user} ${config.services.ntfy-sh.group}"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user