chore: 清除 zsh 残留,声明式 git 身份与 SSH config

- 移除所有 zsh 引用,补全 fish 迁移
- git.nix: 声明 userName/userEmail,删除 credential.helper store 和内网 sslVerify
- 新增 programs.ssh 声明式配置(id_ed25519, addKeysToAgent)
- 简化 install.sh 为 darwin/nixos 双平台
This commit is contained in:
2026-04-10 21:58:55 +08:00
parent 68184abd8f
commit 96f88b3047
5 changed files with 24 additions and 57 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ ... }:
{
programs.fish = {
@@ -38,7 +38,7 @@
# mise
mise activate fish | source
# Sudo: double Escape to prepend sudo (like zsh sudo plugin)
# Sudo: double Escape to prepend sudo
bind \e\e 'fish_commandline_prepend sudo'
# Platform-specific rebuild command