23 lines
333 B
Nix
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
|
|
'';
|
|
};
|
|
}
|