mkforce
This commit is contained in:
parent
7802ae1dd8
commit
9d61a42c6d
@ -1,12 +1,16 @@
|
|||||||
{
|
{lib}:{
|
||||||
nixConfig = rec {
|
nixConfig = rec {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
substituters = [
|
substituters = lib.mkForce [
|
||||||
# Replace official cache with a mirror located in China
|
# Replace official cache with a mirror located in China
|
||||||
#
|
#
|
||||||
# Feel free to remove this line if you are not 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.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"
|
#"https://cache.nixos.org"
|
||||||
];
|
];
|
||||||
trusted-substituters = substituters;
|
trusted-substituters = substituters;
|
||||||
|
Reference in New Issue
Block a user