cluster/services/attic: use DynamicUser

This commit is contained in:
Max Headroom 2023-12-01 23:21:36 +01:00
parent abc3b0b324
commit 2a75c2ae02

View file

@ -53,20 +53,7 @@ in
};
};
users = {
users.atticd = {
isSystemUser = true;
group = "atticd";
home = "/var/lib/atticd";
createHome = true;
};
groups.atticd = {};
};
systemd.services.atticd = {
serviceConfig = {
DynamicUser = lib.mkForce false;
};
environment = {
AWS_SHARED_CREDENTIALS_FILE = config.age.secrets.atticS3Credentials.path;
PGPASSFILE = config.age.secrets.atticDBCredentials.path;