Merge pull request #81298 from Mic92/buildkite

nixos/buildkite-agents: don't run as nogroup
This commit is contained in:
Jörg Thalheim 2020-04-02 13:39:34 +01:00 committed by GitHub
commit 212b574d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}" =