1
0
Fork 0
nix-configuration/modules/apps/tmux.nix

25 lines
330 B
Nix

{
pkgs,
config,
lib,
...
}:
let
cfg = config.host.apps.tmux;
in
with lib;
{
options = {
host.apps.tmux.enable = mkEnableOption (mdDoc "Enables tmux - terminal multiplexer");
};
config = mkIf cfg.enable {
programs.tmux = {
enable = true;
newSession = true;
clock24 = true;
};
};
}