aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/tools/tmux/default.nix
blob: a65f1626aacdb170d2164c07a14749b9c258c9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ options, config, lib, pkgs, 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;
  };
}