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

25 lines
330 B
Nix
Raw Normal View History

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