profiles/server: add tmux

This commit is contained in:
Gabriel Arazas 2023-01-11 13:23:20 +08:00
parent e7bcce4ef6
commit be405897a6

View File

@ -34,6 +34,18 @@ in
# Both are good for hardening as it only requires the keyfiles.
passwordAuthentication = false;
permitRootLogin = "no";
# Manage your servers like a Linux-using basement dweller with their
# precious window manager configuration.
programs.tmux = {
enable = true;
baseIndex = 1;
clock24 = true;
customPaneNavigationAndResize = true;
keyMode = "vi";
newSession = true;
secureSocket = true;
};
# It is expected that server configurations should be complete
@ -85,6 +97,7 @@ in
factor = "4";
maxtime = "24h";
};
extraPackages = with pkgs; [ ipset ];
};
boot.kernel.sysctl = {