From 68575d1e219c79394127650ccba6f2ccc2aea32a Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 20 Apr 2025 15:45:39 +0800 Subject: [PATCH] fix --- modules/nixos/core.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/core.nix b/modules/nixos/core.nix index af56a93..7b6b7ec 100644 --- a/modules/nixos/core.nix +++ b/modules/nixos/core.nix @@ -52,6 +52,8 @@ auto-optimise-store = true; substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" + "https://mirror.sjtu.edu.cn/nix-channels/store" + "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" "https://nixos-cn.cachix.org" "https://nix-community.cachix.org" "https://cache.nixos.org/" @@ -60,6 +62,9 @@ "nixos-cn.cachix.org-1:L0jEaL6w7kwQOPlLoCR3ADx+E3Q8SEFEcB9Jaibl0Xg=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; + # 添加以下配置以允许失败时从源码构建 + fallback = true; + keep-going = true; }; gc = { automatic = true;