.: actually make substituters work
CI / nixos-x86_64-linux (push) Successful in 0s Details
CI / nixos-aarch64-linux (push) Successful in 34s Details

Robert Gerus 2023-10-20 15:45:55 +02:00
parent bd540e237c
commit 013e5defec
1 changed files with 5 additions and 5 deletions

View File

@ -57,26 +57,26 @@ in {
experimental-features = nix-command flakes
'';
settings = {
trusted-users = [ "ar" ];
trusted-users = [ "ar" "root" ];
substituters = (if config.networking.hostName != "scylla" then
[
"ssh://nix-ssh@i.am-a.cat?ssh-key=${config.age.secrets.nix-store.path}"
"ssh://nix-ssh@i.am-a.cat?trusted=1&ssh-key=${config.age.secrets.nix-store.path}"
]
else
[ ]) ++ (if config.networking.hostName != "zorigami" then
[
"ssh://nix-ssh@is-a.cat?ssh-key=${config.age.secrets.nix-store.path}"
"ssh://nix-ssh@is-a.cat?trusted=1&ssh-key=${config.age.secrets.nix-store.path}"
]
else
[ ]);
trusted-substituters = (if config.networking.hostName != "scylla" then
[
"ssh://nix-ssh@i.am-a.cat?ssh-key=${config.age.secrets.nix-store.path}"
"ssh://nix-ssh@i.am-a.cat?trusted=1&ssh-key=${config.age.secrets.nix-store.path}"
]
else
[ ]) ++ (if config.networking.hostName != "zorigami" then
[
"ssh://nix-ssh@is-a.cat?ssh-key=${config.age.secrets.nix-store.path}"
"ssh://nix-ssh@is-a.cat?trusted=1&ssh-key=${config.age.secrets.nix-store.path}"
]
else
[ ]);