remove mirrors for nixpkgs

This commit is contained in:
ulic-youthlic 2025-03-22 17:00:09 +08:00
parent 71e7c8c657
commit 974c582336
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -200,16 +200,9 @@
# substituters shared in home-manager and nixos configuration
substituters =
let
channelStore = x: "https://${x}/nix-channels/store";
mirrors = map (x: channelStore "mirrors.${x}.edu.cn") [
"bfsu"
"tuna.tsinghua"
"ustc"
];
cachix = x: "https://${x}.cachix.org";
in
nixpkgs.lib.flatten [
# mirrors
(cachix "nix-community")
"https://cache.nixos.org"
(cachix "cosmic")