about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-12-03 21:58:47 +0100
committerEmile <git@emile.space>2024-12-03 21:58:47 +0100
commitf358bdf0f3ada08c52c9796ceb7082a9f298aa80 (patch)
tree5204d70a75a2c3bc82018da911930b3a8520c33f
parenta4ab9861dbfe71148b6de786ac35d6013d200e10 (diff)
(caladan) china nix cache
-rw-r--r--nix/hosts/caladan/darwin-configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/hosts/caladan/darwin-configuration.nix b/nix/hosts/caladan/darwin-configuration.nix
index de94487..a164905 100644
--- a/nix/hosts/caladan/darwin-configuration.nix
+++ b/nix/hosts/caladan/darwin-configuration.nix
@@ -54,10 +54,19 @@
         # "nix-cache.emile.space:3xzJknXMsR/EL3SBTu6V6oCOkjxe6MgJm0nOrElW33A="
       ];
       substituters = [
+        # nix-cache mirror for when in china
+        # status: https://mirror.sjtu.edu.cn/
+        # "https://mirror.sjtu.edu.cn/nix-channels/store"
+
         "https://cache.nixos.org"
         "https://nix-community.cachix.org"
         "https://cache.garnix.io"
         # "https://nix-cache.emile.space"
+
+
+        # status: https://mirrors.ustc.edu.cn/status/
+        # "https://mirrors.ustc.edu.cn/nix-channels/store"
+
       ];
 
       experimental-features = [