NixOS and Home Manager config

chore(ssh): update to new options

nel.pet 882527f7 ab28510f

verified
+13 -1
+13 -1
modules/home/ssh.nix
··· 1 1 { config, ... }: { 2 2 programs.ssh = { 3 3 enable = true; 4 - addKeysToAgent = "yes"; 4 + enableDefaultConfig = false; 5 5 matchBlocks = { 6 + "*" = { 7 + forwardAgent = false; 8 + addKeysToAgent = "yes"; 9 + compression = false; 10 + serverAliveInterval = 0; 11 + serverAliveCountMax = 3; 12 + hashKnownHosts = false; 13 + userKnownHostsFile = "~/.ssh/known_hosts"; 14 + controlMaster = "no"; 15 + controlPath = "~/.ssh/master-%r@%n:%p"; 16 + controlPersist = "no"; 17 + }; 6 18 "nixos-shell" = { 7 19 hostname = "localhost"; 8 20 port = 2222;