19 lines
260 B
Nix
19 lines
260 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
with lib.metacfg;
|
|
let
|
|
cfg = config.metacfg.cli-apps.tmux;
|
|
in
|
|
{
|
|
options.metacfg.cli-apps.tmux = {
|
|
enable = mkEnableOption "Tmux";
|
|
};
|
|
|
|
config = mkIf cfg.enable { home.packages = with pkgs; [ tmux ]; };
|
|
}
|