nixos: 提高 swap 并修改镜像源

This commit is contained in:
bin456789
2026-09-23 21:45:05 +08:00
parent 808e13bc1b
commit cab470fdec
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -1665,7 +1665,9 @@ Continue?
if is_in_china; then
mirror=https://mirror.nju.edu.cn/nix-channels
else
mirror=https://nixos.org/channels
# https://nixos.org/channels 没有 ipv6
# 且跳转到 https://channels.nixos.org
mirror=https://channels.nixos.org
fi
if is_use_cloud_image; then