From f6cf9bea4125ce0501c72374fa4ed82dc03d3147 Mon Sep 17 00:00:00 2001 From: schererleander Date: Sun, 11 May 2025 16:48:04 +0200 Subject: chore, formatting --- modules/tmux.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/tmux.nix') diff --git a/modules/tmux.nix b/modules/tmux.nix index 57b4aae..e109375 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -1,11 +1,8 @@ { config, lib, pkgs, ... }: -let - cfg = config.tmux; -in { +{ options.tmux.enable = lib.mkEnableOption "Enable and configure Tmux"; - - config = lib.mkIf cfg.enable { + config = lib.mkIf config.tmux.enable { programs.tmux = { enable = true; extraConfig = '' -- cgit v1.3.1