update "${services}"

This commit is contained in:
2025-10-13 16:25:33 -05:00
parent 3b2460f97a
commit 2f627902f3
21 changed files with 321 additions and 492 deletions

View File

@@ -50,7 +50,7 @@ in
isSystemUser = true;
home = cfg.data_dir;
createHome = true;
group = "${service}";
group = service;
extraGroups = [];
};
@@ -87,8 +87,8 @@ in
# override umask to make permissions work out
systemd.services.${service}.serviceConfig = {
UMask = lib.mkForce "0007";
User = "${service}";
Group = "${service}";
User = service;
Group = service;
};
# # open firewall
@@ -113,8 +113,8 @@ in
sops.secrets = {
"mosquitto_passwd.yaml" = {
owner = "${service}";
group = "${service}";
owner = service;
group = service;
};
};