From a7eebbc8c8d32e91fca47ac58438d73d93466637 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Thu, 18 Dec 2025 08:53:21 -0600 Subject: [PATCH] default match block --- homeManagerModules/ssh.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/ssh.nix b/homeManagerModules/ssh.nix index 0010d2f..7868713 100644 --- a/homeManagerModules/ssh.nix +++ b/homeManagerModules/ssh.nix @@ -11,9 +11,18 @@ { "*" = { user = "john"; - forwardAgent = true; - serverAliveInterval = 60; - serverAliveCountMax = 2; + + # From the help text about the deprecation of the default config: + forwardAgent = false; + addKeysToAgent = "no"; + compression = false; + serverAliveInterval = 0; + serverAliveCountMax = 3; + hashKnownHosts = false; + userKnownHostsFile = "~/.ssh/known_hosts"; + controlMaster = "no"; + controlPath = "~/.ssh/master-%r@%n:%p"; + controlPersist = "no"; }; } (lib.mkIf (config.profile == "personal") {