Skip to content

Commit

Permalink
update 23.11: finish!
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Dec 9, 2023
1 parent 980c125 commit 534dd63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-23.05
nix_path: nixpkgs=channel:nixos-23.11
- run: nix-shell --run "make -j"
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Nix/NixOS采用函数式编程理念,文件夹结构也与常见Linux包管理

该仓库存放着我的Nix/NixOS配置。
该仓库使用nix expression,而非nix flakes。
该仓库使用NixOS稳定源(目前版本23.05),而非非稳定源(unstable)。
该仓库使用NixOS稳定源(目前版本23.11),而非非稳定源(unstable)。
该仓库的配置多平台都可以正常使用,

* NixOS: QEMU✅,NixOS单系统✅,NixOS+Windows双系统✅
Expand Down Expand Up @@ -125,11 +125,11 @@ vim /etc/nixos/configuration.nix
```bash
# 替换为清华的最新稳定源
# [对于NixOS]
nix-channel --add https://mirror.tuna.tsinghua.edu.cn/nix-channels/nixos-23.05 nixos
nix-channel --add https://mirror.tuna.tsinghua.edu.cn/nix-channels/nixos-23.11 nixos
# [对于Nix]
nix-channel --add https://mirror.tuna.tsinghua.edu.cn/nix-channels/nixos-23.05 nixpkgs
nix-channel --add https://mirror.tuna.tsinghua.edu.cn/nix-channels/nixos-23.11 nixpkgs
# 添加home manager源
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
nix-channel --update
```

Expand Down

0 comments on commit 534dd63

Please sign in to comment.