nixcfg/modules/home/cli-apps/tmux/default.nix
Harald Hoyer 3ee0f64c20 feat(nix): add tmux.conf with mouse scrolling enabled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 12:44:57 +01:00

23 lines
333 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 ];
home.file.".tmux.conf".text = ''
set -g mouse on
'';
};
}