about summary refs log tree commit diff stats
path: root/modules/home/conf/ssh/default.nix
blob: de9b0d90d1f1286506988bf23dfb9d2762c6730b (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";
      };
    };
  };
}