dotfiles/modules/os/cli/tmux.nix

16 lines
236 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
cfg = config.my.cli.tmux;
in {
options.my.cli.tmux = {
enable = lib.mkEnableOption null // {
default = true;
};
};
config = lib.mkIf cfg.enable {
programs.tmux.enable = true;
};
}