From 0a608bd781dcda40144097b007fac0a0c60a8ee1 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 1 Aug 2023 15:31:42 +0200 Subject: Refactor(treewide): Move module configuration in separate files --- home-manager/soispha/config/ssh/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home-manager/soispha/config/ssh/default.nix (limited to 'home-manager/soispha/config/ssh') diff --git a/home-manager/soispha/config/ssh/default.nix b/home-manager/soispha/config/ssh/default.nix new file mode 100644 index 00000000..7160adac --- /dev/null +++ b/home-manager/soispha/config/ssh/default.nix @@ -0,0 +1,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"; + }; + }; + }; +} -- cgit 1.4.1