1{ lib, ... }:
2
3with lib;
4{
5 programs.ssh = {
6 enable = true;
7 enableDefaultConfig = false;
8 matchBlocks."*" = {
9 forwardAgent = false;
10 addKeysToAgent = "no";
11 hashKnownHosts = false;
12 userKnownHostsFile = "~/.ssh/known_hosts";
13 controlMaster = "no";
14 controlPath = "~/.ssh/master-%r@%n:%p";
15 controlPersist = "no";
16
17 compression = true;
18 serverAliveInterval = 60;
19 serverAliveCountMax = 5;
20 extraOptions.IPQoS = "none";
21 setEnv.TERM = "xterm";
22 };
23 };
24}