about summary refs log tree commit diff stats
path: root/home-manager/config/ssh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/ssh/default.nix')
-rw-r--r--home-manager/config/ssh/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/home-manager/config/ssh/default.nix b/home-manager/config/ssh/default.nix
new file mode 100644
index 00000000..506c36be
--- /dev/null
+++ b/home-manager/config/ssh/default.nix
@@ -0,0 +1,16 @@
+{
+  config,
+  pkgs,
+  ...
+}: {
+  programs.ssh = {
+    enable = true;
+    compression = true;
+    hashKnownHosts = true;
+    serverAliveInterval = 240;
+    userKnownHostsFile = "${config.xdg.dataHome}/ssh/know_hosts";
+
+  };
+}
+# vim: ts=2
+