about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-13 15:18:11 +0100
committerene <ene@sils.li>2023-02-13 15:18:54 +0100
commit687a7a092bf2525e38457f9233b97a98faebf25b (patch)
treeb7be1dcbbf3e819ebe1cef254c42a2378705313c /home-manager
parentFix(home-manager): Update rclone to use the correct file (diff)
downloadnixos-config-687a7a092bf2525e38457f9233b97a98faebf25b.tar.gz
nixos-config-687a7a092bf2525e38457f9233b97a98faebf25b.zip
Fix(home-manager): Declare the configs directly in Nix
Diffstat (limited to 'home-manager')
-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