From 162f1f24c433c9bfa6fce5ae017d077dce933167 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Thu, 20 Aug 2026 13:24:26 -0500 Subject: [PATCH] feat(ssh): add declarative SSH client configuration and laptop host entry - Enable `programs.ssh` in `modules/user/base.nix`. - Configure a dedicated `laptop` host alias with keepalive parameters. This configuration manages SSH client settings and streamlines remote access to local machines with automatic connection keepalives. --- modules/user/base.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/user/base.nix b/modules/user/base.nix index f92c096..c5cc9a2 100644 --- a/modules/user/base.nix +++ b/modules/user/base.nix @@ -81,6 +81,21 @@ }; }; + # πŸ”‘ SSH Client Configuration + # Declaratively configures SSH client connections and host options + ssh = { + enable = true; + settings = { + laptop = { + HostName = "192.168.1.25"; + User = "kiskaadee"; + Port = 22; + ServerAliveInterval = 15; + ServerAliveCountMax = 3; + }; + }; + }; + # πŸ—ΊοΈ Navigation & Directory Listing # Modern replacements for traditional cd, ls, and grep tools. zoxide = {