Skip to content

Commit

Permalink
runner: fix trusted-user on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 14, 2024
1 parent 76054e4 commit 731a99b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/github-runner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ in
mkRunner = f: builtins.foldl' (acc: i: acc // { ${name i} = f i; }) { } runners;
in
{
nix.settings.trusted-users =
if pkgs.stdenv.isLinux then builtins.map name runners else [ "_github-runner" ];
nix.settings.trusted-users = "_github-runner";

services.github-runners = mkRunner (
i:
Expand Down

0 comments on commit 731a99b

Please sign in to comment.