diff --git a/nix/modules/ssh.nix b/nix/modules/ssh.nix index 1adf4bc..b33254b 100644 --- a/nix/modules/ssh.nix +++ b/nix/modules/ssh.nix @@ -17,4 +17,12 @@ in } { users.users.root.openssh.authorizedKeys.keys = [ cfg.admin.pubkey ]; } ]; + flake.modules.homeManager.default = { + persistDirs = [ ".ssh" ]; + programs.ssh.enable = true; + programs.ssh.extraConfig = '' + Host * + SetEnv TERM=xterm-256color + ''; + }; }