From 2b8623a0e81fecf1d57e7b6089df2c5298435cda Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 16 Nov 2024 18:38:42 +0100 Subject: Disable Bismuth cache (for now) Signed-off-by: Mel --- modules/nix.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/nix.nix b/modules/nix.nix index 4d8109e..a98ec18 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -1,8 +1,12 @@ { me, lib, self, ... }: let - imNotBismuth = (me != "bismuth"); - + # NOTE: disable te bismuth cache for now, + # when bismuth is offline it still hangs, + # maybe use corsac and let bismuth write to it? + #useBismuthCache = (me != "bismuth"); + useBismuthCache = false; + # nixos by default likes to place the default cache # at the end, but bismuth is often offline, and the # default cache should be preferred if it has the @@ -26,6 +30,6 @@ in settings = { experimental-features = [ "flakes" "nix-command" ]; - } // lib.optionalAttrs imNotBismuth bismuthCacheSettings; # use bismuth cache + } // lib.optionalAttrs useBismuthCache bismuthCacheSettings; # use bismuth cache }; } -- cgit 1.4.1