feat: 迁移 macOS 到 Lix,统一全平台 nix 配置
替换 Determinate Nix 为 Lix (pkgs.lix),移除 nix.enable 条件判断,nix.settings 现在统一应用于所有设备。更新 AGENTS.md 和 README.md 文档。
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user