refactor: 简化仓库路径,移除硬编码的 rebuild/update 命令和安装脚本

This commit is contained in:
2026-04-11 17:52:03 +08:00
parent 8965f6fc15
commit aa1b2ff23c
4 changed files with 5 additions and 43 deletions
+4 -4
View File
@@ -23,8 +23,8 @@ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
2. 克隆仓库并首次构建:
```bash
git clone <repo-url> ~/Developer/nix-config
cd ~/Developer/nix-config
git clone <repo-url> ~/nix-config
cd ~/nix-config
# 首次(nix-darwin 尚未安装):
sudo nix run nix-darwin -- switch --flake .#mac-mini
# 之后日常重建:
@@ -43,8 +43,8 @@ wsl -d NixOS
2. 克隆仓库并构建:
```bash
git clone <repo-url> ~/Developer/nix-config
cd ~/Developer/nix-config
git clone <repo-url> ~/nix-config
cd ~/nix-config
sudo nixos-rebuild switch --flake .#wsl
```