ssh: keepalive

This commit is contained in:
2026-03-15 18:09:30 +03:00
parent bd00472f1b
commit 1be908698f
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@
./user/neofetch.nix ./user/neofetch.nix
./user/qt.nix ./user/qt.nix
./user/sops.nix ./user/sops.nix
./user/ssh.nix
./user/waybar.nix ./user/waybar.nix
./user/yazi.nix ./user/yazi.nix
./user/zsh.nix ./user/zsh.nix
+12
View File
@@ -0,0 +1,12 @@
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"*" = {
serverAliveInterval = 30;
serverAliveCountMax = 5;
};
};
};
}