From 687a7a092bf2525e38457f9233b97a98faebf25b Mon Sep 17 00:00:00 2001 From: ene Date: Mon, 13 Feb 2023 15:18:11 +0100 Subject: Fix(home-manager): Declare the configs directly in Nix --- home-manager/ssh/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'home-manager') 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 -- cgit 1.4.1