aboutsummaryrefslogtreecommitdiff
path: root/modules/home/tools/tmux/default.nix
blob: 3f9b7a0b747179a2168444a67d8ebac51fbcaa87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
    };
  };
}