all repos — nixfiles @ 74344bdf071681cfe5768efe48519e81a9e87756

System and user configuration, managed by nix and home-manager

update ssh configuration schema

Alan Pearce
commit

74344bdf071681cfe5768efe48519e81a9e87756

parent

665b57a197de76bf76737d8121279e99eb8aa92a

1 file changed, 8 insertions(+), 5 deletions(-)

changed files
M user/settings/ssh.nixuser/settings/ssh.nix
@@ -2,11 +2,14 @@ { ... }:
{ programs.ssh = { enable = true; - compression = true; - controlMaster = "auto"; - controlPersist = "10m"; - hashKnownHosts = true; - serverAliveInterval = 15; + enableDefaultConfig = false; + matchBlocks."*" = { + compression = true; + controlMaster = "auto"; + controlPersist = "10m"; + hashKnownHosts = true; + serverAliveInterval = 15; + }; extraConfig = '' VerifyHostKeyDNS ask CanonicalizeHostname yes