Files
dotfiles/config/ssh.nix
Menno van Leeuwen ee0c73f6de
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 5s
Nix Format Check / check-format (push) Successful in 1m13s
Python Lint Check / check-python (push) Failing after 6s
chore: add ssh config
2025-09-24 11:55:46 +02:00

21 lines
531 B
Nix

{ ... }:
{
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"
];
};
}