From be405897a6879c1bde95eb41d9d41712cef3bb95 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 11 Jan 2023 13:23:20 +0800 Subject: [PATCH] profiles/server: add tmux --- modules/nixos/profiles/server.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/nixos/profiles/server.nix b/modules/nixos/profiles/server.nix index 2ff32ece..d65a8d95 100644 --- a/modules/nixos/profiles/server.nix +++ b/modules/nixos/profiles/server.nix @@ -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 = {