cluster/services/hercules-ci-multi-agent: set home directory
This commit is contained in:
parent
55d19314a9
commit
451da5558a
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
||||||
inherit (agent) group;
|
inherit (agent) group;
|
||||||
description = "Hercules CI Agent system user for ${name}";
|
description = "Hercules CI Agent system user for ${name}";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
home = agent.settings.baseDirectory;
|
||||||
|
createHome = true;
|
||||||
};
|
};
|
||||||
groups.${agent.group} = { };
|
groups.${agent.group} = { };
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue