common/nix: add github access tokens

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-25 20:21:16 +02:00
parent 38c61cfcd4
commit 067a97bfbc
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,8 @@ in {
"ssh/nix-builders/isvegg/key" = { sopsFile = ./../secrets/common.yaml; };
"ssh/nix-builders/bob/key" = { sopsFile = ./../secrets/common.yaml; };
# "ssh/nix-builders/isvegg/pub" = { };
"nix/access-tokens" = { sopsFile = ./../secrets/common.yaml; };
};
nix = {
@ -28,6 +30,10 @@ in {
use-xdg-base-directories = true;
};
extraOptions = ''
!include ${config.sops.secrets."nix/access-tokens".path}
'';
buildMachines = [
# {
# # Login details configured in ssh module in nix-secrets