nixos/buildkite-agents: don't run as nogroup

This commit is contained in:
Jörg Thalheim 2020-02-28 14:31:18 +00:00
parent 250daba4be
commit 8b7f4fa8a6
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

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