modules/nix-conf: local mirror take precedence over official cache

This commit is contained in:
xinyangli 2024-08-21 11:05:49 +08:00
parent 153762ca5b
commit 509304de03
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -43,8 +43,7 @@ in
];
extra-substituters = mkIf cfg.enableMirrors [
"https://mirrors.bfsu.edu.cn/nix-channels/store?priority=100"
"https://mirrors.ustc.edu.cn/nix-channels/store?priority=100"
"https://mirrors.cernet.edu.cn/nix-channels/store?priority=20"
];
trusted-public-keys = [