diff --git a/home/ssh.nix b/home/ssh.nix index 91e06a4..122f5e3 100644 --- a/home/ssh.nix +++ b/home/ssh.nix @@ -5,6 +5,8 @@ let in { programs.ssh.enable = true; + # 26.05: 显式关闭默认配置生成,避免未来默认值移除警告 + programs.ssh.enableDefaultConfig = false; home.file = lib.mkIf secretsEnabled { # ~/.ssh/id_rsa 来自 sops secret 文件。 diff --git a/home/zsh.nix b/home/zsh.nix index 6496206..00eddd3 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -18,7 +18,8 @@ # options 属性在 home-manager 中不存在,用 setopt 命令代替 # 初始化 - 对应 .zshrc 中的 Powerlevel10k instant prompt 和函数定义 - initExtra = '' + # 26.05: initExtra 已弃用,改名为 initContent + initContent = '' # Shell options setopt correct setopt interactive_comments