nixcfg/modules/home/cli-apps/tmux/default.nix

19 lines
260 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
...
2024-03-21 15:00:36 +01:00
}:
with lib;
with lib.metacfg;
let
2024-03-21 15:00:36 +01:00
cfg = config.metacfg.cli-apps.tmux;
in
{
options.metacfg.cli-apps.tmux = {
enable = mkEnableOption "Tmux";
};
config = mkIf cfg.enable { home.packages = with pkgs; [ tmux ]; };
2024-03-21 15:00:36 +01:00
}