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.
This commit is contained in:
1 parent
e4d7aa7866
commit
162f1f24c4
1 file changed
+15
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user