fix: 统一文档与代码中的仓库路径和安装器推荐

- AGENTS.md: 移除'README 还指向 Determinate'的过时描述
- fish.nix: rebuild/update 路径从 ~/.config 改为 ~/Developer
- fish.nix: darwin rebuild 加 sudo
- AGENTS.md: repo location 描述与实际一致
This commit is contained in:
2026-04-10 23:59:09 +08:00
parent 7c52bdc3c4
commit e9146a4e4d
3 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -25,7 +25,7 @@
http = "xh";
# Nix
update = "nix flake update --flake ~/.config/nix-config";
update = "nix flake update --flake ~/Developer/nix-config";
};
interactiveShellInit = ''
@@ -43,9 +43,9 @@
# Platform-specific rebuild command
if test (uname) = Darwin
abbr --add rebuild "darwin-rebuild switch --flake ~/.config/nix-config"
abbr --add rebuild "sudo darwin-rebuild switch --flake ~/Developer/nix-config"
else
abbr --add rebuild "sudo nixos-rebuild switch --flake ~/.config/nix-config"
abbr --add rebuild "sudo nixos-rebuild switch --flake ~/Developer/nix-config"
end
# WSL clipboard