feat(tmux): add enable option

This commit is contained in:
2026-05-22 10:22:12 +02:00
parent 2d4f428fd3
commit a3c24382f8
2 changed files with 21 additions and 3 deletions

View File

@@ -1,7 +1,18 @@
{ pkgs, dotsPath, ... }:
{
config = {
config,
lib,
pkgs,
dotsPath,
...
}:
let
cfg = config.tmux;
in
{
options.tmux.enable = lib.mkEnableOption "tmux";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
tmuxp
reptyr