about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--home-manager/ssh/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/home-manager/ssh/default.nix b/home-manager/ssh/default.nix
index d0de7f13..506c36be 100644
--- a/home-manager/ssh/default.nix
+++ b/home-manager/ssh/default.nix
@@ -3,8 +3,14 @@
   pkgs,
   ...
 }: {
-  xdg.configFile."river/init".source = ./init;
-  xdg.configFile."river/res".source = ./res;
+  programs.ssh = {
+    enable = true;
+    compression = true;
+    hashKnownHosts = true;
+    serverAliveInterval = 240;
+    userKnownHostsFile = "${config.xdg.dataHome}/ssh/know_hosts";
+
+  };
 }
 # vim: ts=2