From 47ea23708ec0e4778fef7561beda84aed64b99bc Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Wed, 17 Jun 2026 14:54:26 +0100 Subject: [PATCH] Update ssh config structure --- home/base/ssh.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/home/base/ssh.nix b/home/base/ssh.nix index fe46783..a13a6d2 100644 --- a/home/base/ssh.nix +++ b/home/base/ssh.nix @@ -5,20 +5,20 @@ with lib; programs.ssh = { enable = true; enableDefaultConfig = false; - matchBlocks."*" = { - forwardAgent = false; - addKeysToAgent = "no"; - hashKnownHosts = false; - userKnownHostsFile = "~/.ssh/known_hosts"; - controlMaster = "no"; - controlPath = "~/.ssh/master-%r@%n:%p"; - controlPersist = "no"; + settings."*" = { + ForwardAgent = false; + AddKeysToAgent = "no"; + HashKnownHosts = false; + UserKnownHostsFile = "~/.ssh/known_hosts"; + ControlMaster = "no"; + ControlPath = "~/.ssh/master-%r@%n:%p"; + ControlPersist = "no"; - compression = true; - serverAliveInterval = 60; - serverAliveCountMax = 5; - extraOptions.IPQoS = "none"; - setEnv.TERM = "xterm"; + Compression = true; + ServerAliveInterval = 60; + ServerAliveCountMax = 5; + IPQoS = "none"; + SetEnv.TERM = "xterm"; }; }; } -- knotmirror 0.0.1