mirror of
https://github.com/bin456789/reinstall.git
synced 2026-10-11 01:39:49 +08:00
nixos: 添加 26.05
This commit is contained in:
+2
-2
@@ -59,7 +59,7 @@ The system requirements for the target system are as follows:
|
|||||||
| <img width="16" height="16" src="https://fedoraproject.org/favicon.ico" /> Fedora | 43, 44 | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://fedoraproject.org/favicon.ico" /> Fedora | 43, 44 | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://www.openeuler.org/favicon.ico" /> openEuler | 20.03 LTS - 24.03 LTS | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://www.openeuler.org/favicon.ico" /> openEuler | 20.03 LTS - 24.03 LTS | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://static.opensuse.org/favicon.ico" /> openSUSE | Leap 16.0, Tumbleweed (Rolling) | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://static.opensuse.org/favicon.ico" /> openSUSE | Leap 16.0, Tumbleweed (Rolling) | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://nixos.org/favicon.svg" /> NixOS | 25.11 | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://nixos.org/favicon.svg" /> NixOS | 26.05 | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://archlinux.org/static/favicon.png" /> Arch | Rolling | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://archlinux.org/static/favicon.png" /> Arch | Rolling | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://www.gentoo.org/assets/img/logo/gentoo-g.png" /> Gentoo | Rolling | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://www.gentoo.org/assets/img/logo/gentoo-g.png" /> Gentoo | Rolling | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://aosc.io/distros/aosc-os.svg" /> AOSC OS | Rolling | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://aosc.io/distros/aosc-os.svg" /> AOSC OS | Rolling | 512 MB | 5 GB |
|
||||||
@@ -164,7 +164,7 @@ bash reinstall.sh anolis 7|8|23
|
|||||||
centos 9|10
|
centos 9|10
|
||||||
fnos 1
|
fnos 1
|
||||||
fygoos 1
|
fygoos 1
|
||||||
nixos 25.11
|
nixos 26.05
|
||||||
fedora 43|44
|
fedora 43|44
|
||||||
debian 9|10|11|12|13
|
debian 9|10|11|12|13
|
||||||
opensuse 16.0|tumbleweed
|
opensuse 16.0|tumbleweed
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
| <img width="16" height="16" src="https://fedoraproject.org/favicon.ico" /> Fedora | 43, 44 | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://fedoraproject.org/favicon.ico" /> Fedora | 43, 44 | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://www.openeuler.org/favicon.ico" /> openEuler | 20.03 LTS - 24.03 LTS | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://www.openeuler.org/favicon.ico" /> openEuler | 20.03 LTS - 24.03 LTS | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://static.opensuse.org/favicon.ico" /> openSUSE | Leap 16.0, Tumbleweed (滚动) | 512 MB \* | 5 GB |
|
| <img width="16" height="16" src="https://static.opensuse.org/favicon.ico" /> openSUSE | Leap 16.0, Tumbleweed (滚动) | 512 MB \* | 5 GB |
|
||||||
| <img width="16" height="16" src="https://nixos.org/favicon.svg" /> NixOS | 25.11 | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://nixos.org/favicon.svg" /> NixOS | 26.05 | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://archlinux.org/static/favicon.png" /> Arch | 滚动 | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://archlinux.org/static/favicon.png" /> Arch | 滚动 | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://www.gentoo.org/assets/img/logo/gentoo-g.png" /> Gentoo | 滚动 | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://www.gentoo.org/assets/img/logo/gentoo-g.png" /> Gentoo | 滚动 | 512 MB | 5 GB |
|
||||||
| <img width="16" height="16" src="https://aosc.io/distros/aosc-os.svg" /> 安同 OS | 滚动 | 512 MB | 5 GB |
|
| <img width="16" height="16" src="https://aosc.io/distros/aosc-os.svg" /> 安同 OS | 滚动 | 512 MB | 5 GB |
|
||||||
@@ -164,7 +164,7 @@ bash reinstall.sh anolis 7|8|23
|
|||||||
centos 9|10
|
centos 9|10
|
||||||
fnos 1
|
fnos 1
|
||||||
fygoos 1
|
fygoos 1
|
||||||
nixos 25.11
|
nixos 26.05
|
||||||
fedora 43|44
|
fedora 43|44
|
||||||
debian 9|10|11|12|13
|
debian 9|10|11|12|13
|
||||||
opensuse 16.0|tumbleweed
|
opensuse 16.0|tumbleweed
|
||||||
|
|||||||
+2
-2
@@ -84,7 +84,7 @@ Usage: $reinstall_____ anolis 7|8|23
|
|||||||
centos 9|10
|
centos 9|10
|
||||||
fnos 1
|
fnos 1
|
||||||
fygoos 1
|
fygoos 1
|
||||||
nixos 25.11
|
nixos 26.05
|
||||||
fedora 43|44
|
fedora 43|44
|
||||||
debian 9|10|11|12|13
|
debian 9|10|11|12|13
|
||||||
opensuse 16.0|tumbleweed
|
opensuse 16.0|tumbleweed
|
||||||
@@ -1921,7 +1921,7 @@ verify_os_name() {
|
|||||||
'fnos 1' \
|
'fnos 1' \
|
||||||
'fygoos 1' \
|
'fygoos 1' \
|
||||||
'fedora 43|44' \
|
'fedora 43|44' \
|
||||||
'nixos 25.11' \
|
'nixos 26.05' \
|
||||||
'debian 9|10|11|12|13' \
|
'debian 9|10|11|12|13' \
|
||||||
'opensuse 16.0|tumbleweed' \
|
'opensuse 16.0|tumbleweed' \
|
||||||
'alpine 3.21|3.22|3.23|3.24' \
|
'alpine 3.21|3.22|3.23|3.24' \
|
||||||
|
|||||||
@@ -1853,9 +1853,9 @@ install_nixos() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 备用方案
|
# 备用方案
|
||||||
# 1. 从 https://mirror.nju.edu.cn/nix-channels/nixos-25.11/nixexprs.tar.xz 获取
|
# 1. 从 https://mirror.nju.edu.cn/nix-channels/nixos-26.05/nixexprs.tar.xz 获取
|
||||||
# https://github.com/NixOS/nixpkgs/blob/nixos-25.11/pkgs/tools/package-management/nix/default.nix
|
# https://github.com/NixOS/nixpkgs/blob/nixos-26.05/pkgs/tools/package-management/nix/default.nix
|
||||||
# https://github.com/NixOS/nixpkgs/blob/nixos-25.11/nixos/modules/installer/tools/nix-fallback-paths.nix
|
# https://github.com/NixOS/nixpkgs/blob/nixos-26.05/nixos/modules/installer/tools/nix-fallback-paths.nix
|
||||||
# 2. 安装最新版 nix,添加 nixos channel 后获取
|
# 2. 安装最新版 nix,添加 nixos channel 后获取
|
||||||
# nix eval -f '<nixpkgs>' --raw 'nixVersions.stable.version' --extra-experimental-features nix-command
|
# nix eval -f '<nixpkgs>' --raw 'nixVersions.stable.version' --extra-experimental-features nix-command
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user