nixos: builders-use-substitutes

This commit is contained in:
Luke Granger-Brown 2024-06-10 13:40:10 +01:00
parent 5bd01dff68
commit 68c3e4954b
5 changed files with 1 additions and 12 deletions

View file

@ -122,6 +122,7 @@ in
trusted-substituters = lib.mkForce [ "https://cache.nixos.org/" "s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1" ]; trusted-substituters = lib.mkForce [ "https://cache.nixos.org/" "s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1" ];
experimental-features = "nix-command"; experimental-features = "nix-command";
max-call-depth = "9000000"; max-call-depth = "9000000";
builders-use-substitutes = "true";
}; };
}; };
nixpkgs.config = depot.third_party.nixpkgsConfig; nixpkgs.config = depot.third_party.nixpkgsConfig;

View file

@ -21,7 +21,4 @@
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
}]; }];
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
} }

View file

@ -23,9 +23,6 @@
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
}]; }];
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host eu.nixbuild.net Host eu.nixbuild.net

View file

@ -14,7 +14,4 @@
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
}]; }];
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
} }

View file

@ -16,9 +16,6 @@
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
}]; }];
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host whitby-build Host whitby-build