diff options
author | ene <ene@sils.li> | 2023-02-13 15:18:11 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-13 15:18:54 +0100 |
commit | 687a7a092bf2525e38457f9233b97a98faebf25b (patch) | |
tree | b7be1dcbbf3e819ebe1cef254c42a2378705313c /home-manager | |
parent | Fix(home-manager): Update rclone to use the correct file (diff) | |
download | nixos-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.nix | 10 |
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 |