mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-27 18:18:59 +00:00
profiles/server: add tmux
This commit is contained in:
parent
e7bcce4ef6
commit
be405897a6
@ -34,6 +34,18 @@ in
|
|||||||
# Both are good for hardening as it only requires the keyfiles.
|
# Both are good for hardening as it only requires the keyfiles.
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
permitRootLogin = "no";
|
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
|
# It is expected that server configurations should be complete
|
||||||
@ -85,6 +97,7 @@ in
|
|||||||
factor = "4";
|
factor = "4";
|
||||||
maxtime = "24h";
|
maxtime = "24h";
|
||||||
};
|
};
|
||||||
|
extraPackages = with pkgs; [ ipset ];
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
Loading…
Reference in New Issue
Block a user