diff options
Diffstat (limited to '')
-rw-r--r-- | modules/common/tmux.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/modules/common/tmux.nix b/modules/common/tmux.nix index e978f72..a754222 100644 --- a/modules/common/tmux.nix +++ b/modules/common/tmux.nix @@ -1,13 +1,10 @@ -{ - config, - lib, - ... -}: -with lib; let +{ config, lib, ... }: +with lib; +let cfg = config.nixfiles.modules.tmux; -in { - options.nixfiles.modules.tmux.enable = - mkEnableOption "tmux"; +in +{ + options.nixfiles.modules.tmux.enable = mkEnableOption "tmux"; config = mkIf cfg.enable { hm.programs.tmux = { |