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:
parent
2bf3c6c926
commit
0a0b09c714
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue