From 51cb9e4a900850939b292e1358b581bc3220a3c2 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 13 Nov 2025 12:13:51 +0100 Subject: [PATCH] chore(nixbuild): uncomment substituters and add buffer size - Uncommented the `substituters` configuration to enable builder access settings in `nixbuild.nix`. - Added `download-buffer-size` setting to optimize Nix download performance. --- systems/nixbuild.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/nixbuild.nix b/systems/nixbuild.nix index 6fef254..59e0443 100644 --- a/systems/nixbuild.nix +++ b/systems/nixbuild.nix @@ -30,14 +30,12 @@ ]; nix.settings = { - substituters = [ "https://cache.nixos.org" "ssh-ng://harald@m4?ssh-key=/etc/ssh/nix-builder-key" "ssh-ng://harald@rialo?ssh-key=/etc/ssh/nix-builder-key" "ssh-ng://harald@sgx?ssh-key=/etc/ssh/nix-builder-key" ]; - builders-use-substitutes = true; }; @@ -46,4 +44,6 @@ set -gx PATH /nix/var/nix/profiles/default/bin $PATH set -gx PATH /run/current-system/sw/bin $PATH ''; + + nix.settings.download-buffer-size = 524288000; }