Watch
1
0
Fork
You've already forked chitin
0
chitin/modules/users/coyote/programs/ssh.nix
2026-10-26 20:35:43 +07:00

20 lines
546 B
Nix

{
flake.modules.homeManager.coyote = {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
settings."*" = {
ForwardAgent = false;
AddKeysToAgent = "yes"; # no passphrase, silent auto-add
Compression = false;
ServerAliveInterval = 0;
ServerAliveCountMax = 3;
HashKnownHosts = false;
UserKnownHostsFile = "~/.ssh/known_hosts";
ControlMaster = "no";
ControlPath = "~/.ssh/master-%r@%n:%p";
ControlPersist = "no";
};
};
};
}