nixcfg/modules/home/cli-apps/tmux/default.nix
Harald Hoyer 900f95169f nix fmt
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-19 10:31:29 +01:00

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 ]; };
}