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 shared in home-manager and nixos configuration
substituters = substituters =
let 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"; cachix = x: "https://${x}.cachix.org";
in in
nixpkgs.lib.flatten [ nixpkgs.lib.flatten [
# mirrors
(cachix "nix-community") (cachix "nix-community")
"https://cache.nixos.org" "https://cache.nixos.org"
(cachix "cosmic") (cachix "cosmic")