From 2c9be41ce42e16bfda2a2aea5e0ad228935b5c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Sat, 13 Apr 2024 16:47:30 +0800 Subject: [PATCH] Revert "nixbld: disable substituters" NixOS bug festival This reverts commit 5576b82d15709560f326725abeb30db9e2a89ee9. --- nixbld-etc-nixos/configuration.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index cba286a..322b592 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -565,11 +565,11 @@ in boot.kernel.sysctl."kernel.dmesg_restrict" = true; services.udev.packages = [ pkgs.sane-backends ]; - nix.settings.max-jobs = 4; - nix.settings.cores = 8; + nix.settings.max-jobs = 10; nix.nrBuildUsers = 64; services.hydra = { enable = true; + useSubstitutes = true; hydraURL = "https://nixbld.m-labs.hk"; notificationSender = "hydra@m-labs.hk"; minimumDiskFree = 15; # in GB @@ -683,7 +683,6 @@ in experimental-features = nix-command flakes ''; nix.settings.extra-sandbox-paths = ["/opt"]; - nix.settings.substituters = pkgs.lib.mkForce []; services.mlabs-backup.enable = true; services.ghbackup.enable = true;