19 lines
301 B
Nix
19 lines
301 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;
|
|
};
|
|
};
|
|
} |