From f3c6482623bae990438c4c8a29438bb34c468933 Mon Sep 17 00:00:00 2001 From: xieby1 Date: Mon, 12 Aug 2024 21:36:27 +0800 Subject: [PATCH] disable tsinghua mirror and add my cachix --- nix/nix.conf | 2 +- system.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/nix.conf b/nix/nix.conf index 2e7888ad..2011758f 100644 --- a/nix/nix.conf +++ b/nix/nix.conf @@ -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 diff --git a/system.nix b/system.nix index 76f8ad5b..9173cd11 100644 --- a/system.nix +++ b/system.nix @@ -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/" ];