From 504bfcdd8f72e6160184d91302c1a741de3866a3 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 18 Feb 2026 12:38:56 -0600 Subject: [PATCH] feat: pull from nas1 directly if not connected --- modules/nix-conf.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nix-conf.nix b/modules/nix-conf.nix index efaf586..9804c69 100644 --- a/modules/nix-conf.nix +++ b/modules/nix-conf.nix @@ -57,9 +57,11 @@ in "gregory.hellings" ]; # For home and for work machines substituters = - (lib.optionals cfg.cache [ + (if cfg.cache then [ #"http://chronicles.shire-zebra.ts.net:9000/binary-cache/" "http://nas1.shire-zebra.ts.net:8080/default" + ] else [ + "http://nas1.thehellings.lan:8080/default" ]) ++ [ "https://ai.cachix.org"