fix(home): 修复 26.05 弃用警告 (zsh initContent, ssh enableDefaultConfig)

This commit is contained in:
2026-08-13 19:51:02 +08:00
parent ab4d5e1924
commit d71fab81d5
2 changed files with 4 additions and 1 deletions

View File

@@ -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 文件。