forked from mirrors/nixpkgs
Merge pull request #81298 from Mic92/buildkite
nixos/buildkite-agents: don't run as nogroup
This commit is contained in:
commit
212b574d89
|
@ -208,8 +208,12 @@ in
|
|||
description = "Buildkite agent user";
|
||||
extraGroups = [ "keys" ];
|
||||
isSystemUser = true;
|
||||
group = "buildkite-agent-${name}";
|
||||
};
|
||||
});
|
||||
config.users.groups = mapAgents (name: cfg: {
|
||||
"buildkite-agent-${name}" = {};
|
||||
});
|
||||
|
||||
config.systemd.services = mapAgents (name: cfg: {
|
||||
"buildkite-agent-${name}" =
|
||||
|
|
Loading…
Reference in a new issue