From 61ecc0289cbded13c9d2f8c184bd9a844dfd25e4 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 3 Dec 2023 23:54:27 +0000 Subject: [PATCH] nix: sort mirrors --- darwin/profiles/core/nix/nix.nix | 3 +-- nixos/profiles/core/nix/nix.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/darwin/profiles/core/nix/nix.nix b/darwin/profiles/core/nix/nix.nix index a200fe5..f39bbee 100755 --- a/darwin/profiles/core/nix/nix.nix +++ b/darwin/profiles/core/nix/nix.nix @@ -8,10 +8,9 @@ substituters = { "Asia/Shanghai" = [ + "https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror "https://mirrors.ustc.edu.cn/nix-channels/store" # USTC - 中国科学技术大学 Mirror "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" # TUNA - 清华大学 Mirror - "https://mirrors.bfsu.edu.cn/nix-channels/store" # BFSU - 北京外国语大学 Mirror - "https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror ]; } .${config.time.timeZone} diff --git a/nixos/profiles/core/nix/nix.nix b/nixos/profiles/core/nix/nix.nix index 37eb401..2e8865d 100755 --- a/nixos/profiles/core/nix/nix.nix +++ b/nixos/profiles/core/nix/nix.nix @@ -4,10 +4,9 @@ substituters = { "Asia/Shanghai" = [ + "https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror "https://mirrors.ustc.edu.cn/nix-channels/store" # USTC - 中国科学技术大学 Mirror "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" # TUNA - 清华大学 Mirror - "https://mirrors.bfsu.edu.cn/nix-channels/store" # BFSU - 北京外国语大学 Mirror - "https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror ]; } .${config.time.timeZone}