add ssh keepalive and shorten bootloader time

This commit is contained in:
mc-fucker 2021-12-19 20:38:50 +01:00
parent 4c5fce1172
commit 7b0a9b4e4f

View file

@ -47,6 +47,7 @@ in
openssh = { openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
extraConfig = "ClientAliveInterval 60";
}; };
tailscale.enable = true; tailscale.enable = true;
}; };
@ -56,6 +57,8 @@ in
allowedUDPPorts = [ config.services.tailscale.port ]; allowedUDPPorts = [ config.services.tailscale.port ];
}; };
boot.loader.timeout = 1;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget wget
htop htop