refactor(tmpfiles): migrate 12 services to deferred serviceFilePerms

This commit is contained in:
2026-02-12 13:51:05 -05:00
parent 9e346a8406
commit fa01077856
12 changed files with 46 additions and 53 deletions

View File

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