{ ... }: { programs.ssh = { enable = true; compression = true; serverAliveInterval = 60; serverAliveCountMax = 3; # SSH Multiplexing - reuses existing SSH connections for multiple sessions, reducing authentication overhead and improving speed for subsequent logins. controlPath = "~/.ssh/master-%r@%n:%p"; controlMaster = "auto"; controlPersist = "600"; # Include custom configs from 1Password (See packages/common/secrets.nix) includes = [ "~/.ssh/config.d/*.conf" ]; }; }