cluster/services/attic: use DynamicUser
This commit is contained in:
parent
abc3b0b324
commit
2a75c2ae02
1 changed files with 0 additions and 13 deletions
|
@ -53,20 +53,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
|
||||||
users.atticd = {
|
|
||||||
isSystemUser = true;
|
|
||||||
group = "atticd";
|
|
||||||
home = "/var/lib/atticd";
|
|
||||||
createHome = true;
|
|
||||||
};
|
|
||||||
groups.atticd = {};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.atticd = {
|
systemd.services.atticd = {
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue