gh: add github token to linux builder

But we can't use it in nix.conf due to
https://github.com/NixOS/nix/issues/6536
This commit is contained in:
Sridhar Ratnakumar 2024-04-03 18:16:54 +11:00
parent a31cdb76f6
commit 588804857c
2 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,11 @@ in
users.groups.${group} = { };
nix.settings.trusted-users = [ user ];
# No way to do this: https://github.com/NixOS/nix/issues/6536
#nix.extraOptions = ''
# !include /run/keys/nix-conf-gh-token.secret
#'';
# Runners
services.github-runners = mkPersonalRunners "srid" repos.srid;