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
+3 -4
View File
@@ -1,10 +1,9 @@
{ lib, pkgs, ... }:
{ pkgs, ... }:
{
# Determinate Nix manages the daemon on macOS
nix.enable = !pkgs.stdenv.isDarwin;
nix.package = pkgs.lix;
nix.settings = lib.mkIf (!pkgs.stdenv.isDarwin) {
nix.settings = {
experimental-features = [
"nix-command"
"flakes"