2024-01-11 11:26:46 +01:00
|
|
|
{ lib
|
|
|
|
, config
|
|
|
|
, pkgs
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
with lib;
|
2024-03-20 08:58:05 +01:00
|
|
|
with lib.metacfg; let
|
|
|
|
cfg = config.metacfg.cli-apps.tmux;
|
2024-01-11 11:26:46 +01:00
|
|
|
in
|
|
|
|
{
|
2024-03-20 08:58:05 +01:00
|
|
|
options.metacfg.cli-apps.tmux = {
|
2024-01-11 11:26:46 +01:00
|
|
|
enable = mkEnableOption "Tmux";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
tmux
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|