diff --git a/modules/baseline.nix b/modules/baseline.nix index 2e36585..c1455c8 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -18,7 +18,7 @@ in keep-derivations = true; min-free = (toString (1024 * 1024 * 1024) ); max-free = (toString (5 * 1024 * 1024 * 1024) ); - substituters = (lib.optional notDarwin [ "http://nixcache.home" ]) ++ [ + substituters = (if notDarwin then [ "http://nixcache.home" ] else []) ++ [ "https://cache.garnix.io" "https://ai.cachix.org" ];