From 067a97bfbc3179bbf0c0aabce94ce2229a11064c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 25 Jun 2024 20:21:16 +0200 Subject: [PATCH] common/nix: add github access tokens --- hosts/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common.nix b/hosts/common.nix index cd16f8c..502f3b5 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -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