Revert "cluster/services/attic: use DynamicUser"

This reverts commit 2a75c2ae02.
This commit is contained in:
Max Headroom 2023-12-02 00:10:58 +01:00
parent 02ea8d50c7
commit 9c9c8d250d

View file

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