This commit is contained in:
Peder Bergebakken Sundt 2023-10-03 14:11:23 +02:00
parent 6198678a17
commit d9b8bd008e

View File

@ -38,7 +38,7 @@ in
in {
User = "domeneshop";
Group = "domeneshop";
DynamicUser = true;
#DynamicUser = true; # maybe re-enable when sops-nix is in place?
ExecStart = "${prog}/bin/domeneshop-dyndns-updater.sh";
PrivateTmp = true;
};
@ -52,6 +52,9 @@ in
Unit = "domeneshop-updater.service";
};
};
users.users.domeneshop.isSystemUser = true;
users.users.group = "domeneshop";
users.groups.domeneshop = {};
};
}