Skip to content

Commit

Permalink
disable tsinghua mirror and add my cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Aug 12, 2024
1 parent 1734e3f commit f3c6482
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nix/nix.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# see `man nix.conf` for details

experimental-features = nix-command flakes
substituters = https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store https://cache.nixos.org/ https://nix-on-droid.cachix.org/ https://xieby1.cachix.org
substituters = https://cache.nixos.org/ https://nix-on-droid.cachix.org/ https://xieby1.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= xieby1.cachix.org-1:hVhQjWqdV3oGsSnyXSvzPgmDqcKm+EeKFtqsNK+eRew=
# make builtins.fetchurl expire in a long time
# although `man nix.conf` says tarball-ttl default is 4294967295
Expand Down
1 change: 0 additions & 1 deletion system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#MC 由于cache.nixos.org需要梯子,
#MC 这里使用了清华Tuna提供的Nix binary cache镜像来加速。
nix.settings.substituters = [
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
"https://cache.nixos.org/"
];

Expand Down

0 comments on commit f3c6482

Please sign in to comment.