aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-04-29 20:41:52 +0200
committerschererleander <leander@schererleander.de>2025-04-29 20:41:52 +0200
commit5db06024d727b2ca11f03d3ea6153a7946d8f720 (patch)
treebe1106562808a4197a1f489d073f7085c46f5078 /modules/tmux.nix
parentec0137a61d11c12cdef8e1dbd515315077be9c72 (diff)
move modules
Diffstat (limited to 'modules/tmux.nix')
-rw-r--r--modules/tmux.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/tmux.nix b/modules/tmux.nix
new file mode 100644
index 0000000..c4bfefc
--- /dev/null
+++ b/modules/tmux.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, ... }:
+
+let
+ cfg = config.tmux;
+in {
+ options.tmux.enable = lib.mkEnableOption "Enable and configure Tmux";
+
+ config = lib.mkIf cfg.enable {
+ programs.tmux = {
+ enable = true;
+ };
+ };
+}
+