about summary refs log tree commit diff stats
path: root/hm/soispha/conf/ssh/default.nix
blob: fcce32fd2a09275122c3ebaa33556f3458036809 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{config, ...}: {
  programs.ssh = {
    enable = true;
    compression = true;
    hashKnownHosts = false;
    serverAliveInterval = 240;
    userKnownHostsFile = "${config.xdg.dataHome}/ssh/known_hosts";

    matchBlocks = {
      "codeberg.org" = {
        # TODO:: Remove this once they fix their ipv6 config
        addressFamily = "inet";
      };
    };
  };
}