From 3f41f806ca5c5f635596ce164fbcf4da6fb10241 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 20 May 2024 23:06:40 -0500 Subject: [PATCH] Fix the conditional to not be bad --- modules/baseline.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ];