From dde547f69489bc5cab836696de6728704e9fe377 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 22 May 2026 20:01:32 -0700 Subject: [PATCH] Use programs.ssh.settings for Home Manager --- nixos/home-manager.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index e0ff2438..af29e591 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -304,18 +304,18 @@ in { extraConfig = '' Include /home/imalison/config/dotfiles/ssh/config ''; - matchBlocks = { + settings = { "*" = { - forwardAgent = true; - addKeysToAgent = "no"; - compression = false; - serverAliveInterval = 0; - serverAliveCountMax = 3; - hashKnownHosts = false; - userKnownHostsFile = "~/.ssh/known_hosts"; - controlMaster = "no"; - controlPath = "~/.ssh/master-%r@%n:%p"; - controlPersist = "no"; + ForwardAgent = true; + AddKeysToAgent = "no"; + Compression = false; + ServerAliveInterval = 0; + ServerAliveCountMax = 3; + HashKnownHosts = false; + UserKnownHostsFile = "~/.ssh/known_hosts"; + ControlMaster = "no"; + ControlPath = "~/.ssh/master-%r@%n:%p"; + ControlPersist = "no"; }; }; };