feat: 迁移 macOS 到 Lix,统一全平台 nix 配置

替换 Determinate Nix 为 Lix (pkgs.lix),移除 nix.enable 条件判断,nix.settings 现在统一应用于所有设备。更新 AGENTS.md 和 README.md 文档。
This commit is contained in:
2026-04-11 00:56:38 +08:00
parent ac7f9f8b8a
commit 3bd914a002
5 changed files with 14 additions and 50 deletions
+1 -3
View File
@@ -14,14 +14,12 @@
### macOS (Mac Mini / MacBook Air)
1. 安装 Nix(推荐 [Lix 安装器](https://lix.systems/install/)):
1. 安装 [Lix](https://lix.systems/)Nix 的社区分支,nix-darwin 官方推荐):
```bash
curl -sSf -L https://install.lix.systems/lix | sh -s -- install
```
> **注意**:当前机器使用 Determinate Nix,需要 `nix.enable = false`(已在 `modules/shared/nix.nix` 中配置)。新机器建议使用 Lix,可省去此限制。详见 `AGENTS.md`。
2. 克隆仓库并首次构建:
```bash