mkforce
This commit is contained in:
parent
7802ae1dd8
commit
9d61a42c6d
@ -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;
|
||||
|
Reference in New Issue
Block a user