services/hydra: switch to nix.setttings and remove redundant builders-use-substitutes
This commit is contained in:
parent
85736ccc3e
commit
b287c37ee1
1 changed files with 4 additions and 4 deletions
|
@ -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; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue