summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-16 18:38:42 +0100
committerMel <einebeere@gmail.com>2024-11-16 18:38:42 +0100
commit2b8623a0e81fecf1d57e7b6089df2c5298435cda (patch)
tree51b462ca763200914e359a29d1ca128a73a623a1 /modules
parenta9d8010c224a00c49deccfd0e4b7ead1ef1a3d6c (diff)
downloadminerals-2b8623a0e81fecf1d57e7b6089df2c5298435cda.tar.zst
minerals-2b8623a0e81fecf1d57e7b6089df2c5298435cda.zip
Disable Bismuth cache (for now)
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/nix.nix10
1 files changed, 7 insertions, 3 deletions
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
};
}