about summary refs log tree commit diff stats
path: root/home-manager/config/ssh/default.nix
blob: 7160adacba52a64f28d93dd408d4c91f6709d01a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{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";
      };
    };
  };
}