mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-11 07:02:41 +02:00
chore: update some mirrors for both nix & homebrew
This commit is contained in:
+5
-3
@@ -88,10 +88,12 @@
|
|||||||
substituters = [
|
substituters = [
|
||||||
# cache mirror located in China
|
# cache mirror located in China
|
||||||
# status: https://mirrors.ustc.edu.cn/status/
|
# status: https://mirrors.ustc.edu.cn/status/
|
||||||
"https://mirrors.ustc.edu.cn/nix-channels/store"
|
# "https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||||
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
|
|
||||||
# status: https://mirror.sjtu.edu.cn/
|
# status: https://mirror.sjtu.edu.cn/
|
||||||
"https://mirror.sjtu.edu.cn/nix-channels/store"
|
# "https://mirror.sjtu.edu.cn/nix-channels/store"
|
||||||
|
# others
|
||||||
|
"https://mirrors.sustech.edu.cn/nix-channels/store"
|
||||||
|
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
|
||||||
|
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
# my own cache server, currently not used.
|
# my own cache server, currently not used.
|
||||||
|
|||||||
+12
-4
@@ -26,10 +26,18 @@ let
|
|||||||
# Homebrew Mirror
|
# Homebrew Mirror
|
||||||
# NOTE: is only useful when you run `brew install` manually! (not via nix-darwin)
|
# NOTE: is only useful when you run `brew install` manually! (not via nix-darwin)
|
||||||
homebrew_mirror_env = {
|
homebrew_mirror_env = {
|
||||||
HOMEBREW_API_DOMAIN = "https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api";
|
# tuna mirror
|
||||||
HOMEBREW_BOTTLE_DOMAIN = "https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles";
|
# HOMEBREW_API_DOMAIN = "https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api";
|
||||||
HOMEBREW_BREW_GIT_REMOTE = "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git";
|
# HOMEBREW_BOTTLE_DOMAIN = "https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles";
|
||||||
HOMEBREW_CORE_GIT_REMOTE = "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git";
|
# HOMEBREW_BREW_GIT_REMOTE = "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git";
|
||||||
|
# HOMEBREW_CORE_GIT_REMOTE = "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git";
|
||||||
|
# HOMEBREW_PIP_INDEX_URL = "https://pypi.tuna.tsinghua.edu.cn/simple";
|
||||||
|
|
||||||
|
# nju mirror
|
||||||
|
HOMEBREW_API_DOMAIN = "https://mirror.nju.edu.cn/homebrew-bottles/api";
|
||||||
|
HOMEBREW_BOTTLE_DOMAIN = "https://mirror.nju.edu.cn/homebrew-bottles";
|
||||||
|
HOMEBREW_BREW_GIT_REMOTE = "https://mirror.nju.edu.cn/git/homebrew/brew.git";
|
||||||
|
HOMEBREW_CORE_GIT_REMOTE = "https://mirror.nju.edu.cn/git/homebrew/homebrew-core.git";
|
||||||
HOMEBREW_PIP_INDEX_URL = "https://pypi.tuna.tsinghua.edu.cn/simple";
|
HOMEBREW_PIP_INDEX_URL = "https://pypi.tuna.tsinghua.edu.cn/simple";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user