services/hydra: switch to nix.setttings and remove redundant builders-use-substitutes

This commit is contained in:
zowoq 2023-04-12 12:35:41 +10:00
parent 85736ccc3e
commit b287c37ee1

View file

@ -28,10 +28,10 @@ in
# hydra-queue-runner needs to read this key for remote building
sops.secrets.id_buildfarm.owner = "hydra-queue-runner";
nix.extraOptions = ''
builders-use-substitutes = true
allowed-uris = https://github.com/nix-community/ https://github.com/NixOS/
'';
nix.settings.allowed-uris = [
"https://github.com/nix-community/"
"https://github.com/NixOS/"
];
nixpkgs.config = {
whitelistedLicenses = with lib.licenses; [