Define buildkite-agent user

I'd like my buildkite-agent to run as its own user, so I'm defining that user
here.
This commit is contained in:
William Carroll 2020-08-16 19:07:43 +01:00
parent 2bf3c6c926
commit 0a0b09c714

View file

@ -58,6 +58,13 @@ in {
shell = pkgs.fish;
};
users.buildkite-agent = {
# TODO: Consider setting this to `false` when you better understand the
# implications.
isNormalUser = true;
extraGroups = [ "git" ];
};
users.git = {
group = "git";
isNormalUser = false;