21 lines
271 B
Nix
21 lines
271 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
|
||
|
];
|
||
|
};
|
||
|
}
|