diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-14 02:27:19 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-14 02:27:19 -0700 |
commit | 7275edb740367c1e2ef3817817135af81621c775 (patch) | |
tree | eabb8075a2fb67c9314f1f6a51269e1d5b9c5c51 /home/root/arrakis.nix | |
parent | 5dcdd5452cd43c5ad3feb7f943d6265a84f80c55 (diff) | |
download | nix-7275edb740367c1e2ef3817817135af81621c775.tar nix-7275edb740367c1e2ef3817817135af81621c775.tar.gz nix-7275edb740367c1e2ef3817817135af81621c775.tar.bz2 nix-7275edb740367c1e2ef3817817135af81621c775.tar.lz nix-7275edb740367c1e2ef3817817135af81621c775.tar.xz nix-7275edb740367c1e2ef3817817135af81621c775.tar.zst nix-7275edb740367c1e2ef3817817135af81621c775.zip |
Add nix GitHub access token for root@arrakis
Diffstat (limited to 'home/root/arrakis.nix')
-rw-r--r-- | home/root/arrakis.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/home/root/arrakis.nix b/home/root/arrakis.nix index c78c958..f7600df 100644 --- a/home/root/arrakis.nix +++ b/home/root/arrakis.nix @@ -72,4 +72,17 @@ ''; }; }; + + nix.extraOptions = '' + !include ${config.sops.secrets."nix-access-token-github".path} + ''; + + sops = { + age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + defaultSopsFile = ./secrets/arrakis.yaml; + + secrets = { + "nix-access-token-github" = {}; + }; + }; } |