Files
Olympus/modules/users/nathan/home-manager/features/ssh.nix
2026-04-22 13:27:21 -05:00

28 lines
674 B
Nix

{ ... }: {
flake.homeModules.nathan-ssh = { ... }: {
programs.ssh = {
enable = true;
# defaults as of 25.11
matchBlocks."*" = {
forwardAgent = false;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
enableDefaultConfig = false;
};
};
}