RemoteBuild : Allow cache.nixos as a trusted sub for shells.

This commit is contained in:
Dmitry Voronin 2024-06-24 19:12:08 +03:00
parent 939414b564
commit 67bcd941fc
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -18,8 +18,8 @@
nix.settings = let nix.settings = let
substituters = [ "ssh-ng://nixbuilder" ]; substituters = [ "ssh-ng://nixbuilder" ];
in { in {
substituters = lib.mkForce substituters; substituters = lib.mkForce substituters;
trusted-substituters = lib.mkForce substituters; trusted-substituters = substituters;
builders-use-substitutes = true; builders-use-substitutes = true;
max-jobs = 0; max-jobs = 0;
trusted-public-keys = [ secret.ssh.builderKey ]; trusted-public-keys = [ secret.ssh.builderKey ];