{ lib, config, pkgs, ... }: with lib; with lib.metacfg; let cfg = config.metacfg.cli-apps.tmux; in { options.metacfg.cli-apps.tmux = { enable = mkOption { type = types.bool; default = true; description = "Enable Tmux"; }; }; config = mkIf cfg.enable { home.file.".tmux.conf".text = '' set -g mouse on ''; }; }