From ec00711c85e49a8fb802b36981e0ab82848efe7f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 3 Jun 2026 13:49:12 -0700 Subject: [PATCH] darwin: migrate ssh config settings --- nix-darwin/home/common.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nix-darwin/home/common.nix b/nix-darwin/home/common.nix index 4daec3d5..1e3c6147 100644 --- a/nix-darwin/home/common.nix +++ b/nix-darwin/home/common.nix @@ -200,18 +200,18 @@ in { programs.ssh = { enable = true; enableDefaultConfig = false; - 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"; }; }; };