Revert "cluster/services/attic: use DynamicUser"
This reverts commit 2a75c2ae02
.
This commit is contained in:
parent
02ea8d50c7
commit
9c9c8d250d
1 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue