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 -1
View File
@@ -43,7 +43,7 @@
# Platform-specific rebuild command (derive flake attr from hostname)
if test (uname) = Darwin
set -l attr (scutil --get LocalHostName | string lower | string replace 'awesome-' '')
set -l attr (scutil --get LocalHostName | string lower | string replace 'awesome-' "")
abbr --add rebuild "sudo darwin-rebuild switch --flake ~/Developer/nix-config#$attr"
else
abbr --add rebuild "sudo nixos-rebuild switch --flake ~/Developer/nix-config#wsl"