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 # hydra-queue-runner needs to read this key for remote building
sops.secrets.id_buildfarm.owner = "hydra-queue-runner"; sops.secrets.id_buildfarm.owner = "hydra-queue-runner";
nix.extraOptions = '' nix.settings.allowed-uris = [
builders-use-substitutes = true "https://github.com/nix-community/"
allowed-uris = https://github.com/nix-community/ https://github.com/NixOS/ "https://github.com/NixOS/"
''; ];
nixpkgs.config = { nixpkgs.config = {
whitelistedLicenses = with lib.licenses; [ whitelistedLicenses = with lib.licenses; [