diff options
Diffstat (limited to 'modules/home/tools/tmux/default.nix')
| -rw-r--r-- | modules/home/tools/tmux/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/home/tools/tmux/default.nix b/modules/home/tools/tmux/default.nix new file mode 100644 index 0000000..3f9b7a0 --- /dev/null +++ b/modules/home/tools/tmux/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.tools.tmux; +in { + options.${namespace}.tools.tmux = with types; { + enable = mkEnableOption "tmux"; + }; + + config = mkIf cfg.enable { + programs.tmux = { + enable = true; + }; + }; +} |