Skip to content

Commit

Permalink
linux: adjust runner settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 17, 2024
1 parent e119873 commit 52a91c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agents/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

cachix.github-runner = {
enable = true;
count = 8;
count = 4;
githubOrganization = "cachix";
namePrefix = "cachix-${pkgs.stdenv.system}";
extraGroups = [ "docker" ];
Expand Down
2 changes: 2 additions & 0 deletions modules/github-runner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ in
tokenFile = cfg.tokenFile;
# Replace an existing runner with the same name, instead of erroring out.
replace = true;
# Re-launch the runner after each job.
ephemeral = true;
extraPackages =
with (if cfg.enableRosetta then pkgs.pkgsx86_64Darwin else pkgs);
[
Expand Down

0 comments on commit 52a91c8

Please sign in to comment.