aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
committerschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
commitf6cf9bea4125ce0501c72374fa4ed82dc03d3147 (patch)
tree6fd9db4633b06a892456c4e58ccec9a9644af55e /modules/tmux.nix
parentac5d4c921a776b991db0f9e23cc283c1a401fd45 (diff)
chore, formatting
Diffstat (limited to 'modules/tmux.nix')
-rw-r--r--modules/tmux.nix7
1 files changed, 2 insertions, 5 deletions
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 = ''