darwin: migrate ssh config settings

This commit is contained in:
2026-06-03 13:49:12 -07:00
parent 16aa6ed735
commit ec00711c85

View File

@@ -200,18 +200,18 @@ in {
programs.ssh = { programs.ssh = {
enable = true; enable = true;
enableDefaultConfig = false; enableDefaultConfig = false;
matchBlocks = { settings = {
"*" = { "*" = {
forwardAgent = true; ForwardAgent = true;
addKeysToAgent = "no"; AddKeysToAgent = "no";
compression = false; Compression = false;
serverAliveInterval = 0; ServerAliveInterval = 0;
serverAliveCountMax = 3; ServerAliveCountMax = 3;
hashKnownHosts = false; HashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts"; UserKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no"; ControlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p"; ControlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no"; ControlPersist = "no";
}; };
}; };
}; };