Enable services.buildkite-agents
Instead of enabling `buildkite-agent` ad hoc, use NixOS to configure it.
This commit is contained in:
parent
890d4606cf
commit
60b8b83376
1 changed files with 7 additions and 7 deletions
|
@ -50,13 +50,6 @@ in {
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.buildkite-agent = {
|
|
||||||
# TODO: Consider setting this to `false` when you better understand the
|
|
||||||
# implications.
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "git" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.git = {
|
users.git = {
|
||||||
group = "git";
|
group = "git";
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
|
@ -115,6 +108,13 @@ in {
|
||||||
rootUrl = "https://git.wpcarro.dev/";
|
rootUrl = "https://git.wpcarro.dev/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.buildkite-agents = {
|
||||||
|
socrates = {
|
||||||
|
enable = true;
|
||||||
|
tokenPath = "/etc/secrets/buildkite-agent-token";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# systemd.services.monzo-token-server = {
|
# systemd.services.monzo-token-server = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# description = "Ensure my Monzo access token is valid";
|
# description = "Ensure my Monzo access token is valid";
|
||||||
|
|
Loading…
Add table
Reference in a new issue