Revert "nixbld: disable substituters"

NixOS bug festival

This reverts commit 5576b82d15.
This commit is contained in:
Sébastien Bourdeauducq 2024-04-13 16:47:30 +08:00
parent 8ceaad6e16
commit 2c9be41ce4

View File

@ -565,11 +565,11 @@ in
boot.kernel.sysctl."kernel.dmesg_restrict" = true; boot.kernel.sysctl."kernel.dmesg_restrict" = true;
services.udev.packages = [ pkgs.sane-backends ]; services.udev.packages = [ pkgs.sane-backends ];
nix.settings.max-jobs = 4; nix.settings.max-jobs = 10;
nix.settings.cores = 8;
nix.nrBuildUsers = 64; nix.nrBuildUsers = 64;
services.hydra = { services.hydra = {
enable = true; enable = true;
useSubstitutes = true;
hydraURL = "https://nixbld.m-labs.hk"; hydraURL = "https://nixbld.m-labs.hk";
notificationSender = "hydra@m-labs.hk"; notificationSender = "hydra@m-labs.hk";
minimumDiskFree = 15; # in GB minimumDiskFree = 15; # in GB
@ -683,7 +683,6 @@ in
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
nix.settings.extra-sandbox-paths = ["/opt"]; nix.settings.extra-sandbox-paths = ["/opt"];
nix.settings.substituters = pkgs.lib.mkForce [];
services.mlabs-backup.enable = true; services.mlabs-backup.enable = true;
services.ghbackup.enable = true; services.ghbackup.enable = true;