From 9d61a42c6dbbb71a4671891b0e95ce6ed2079385 Mon Sep 17 00:00:00 2001 From: Sense T Date: Sat, 25 Nov 2023 17:27:20 +0800 Subject: [PATCH] mkforce --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d0ebaca..e909582 100644 --- a/flake.nix +++ b/flake.nix @@ -1,12 +1,16 @@ -{ +{lib}:{ nixConfig = rec { experimental-features = [ "nix-command" "flakes" ]; - substituters = [ + substituters = lib.mkForce [ # Replace official cache with a mirror located in China # # Feel free to remove this line if you are not in China "https://mirrors.ustc.edu.cn/nix-channels/store" + "https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大 + "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" #清华 + "https://mirrors.bfsu.edu.cn/nix-channels/store" # 北外 + "https://mirror.sjtu.edu.cn/nix-channels/store" #交大 #"https://cache.nixos.org" ]; trusted-substituters = substituters;