aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/tmux.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-04-29 16:59:25 +0200
committerschererleander <leander@schererleander.de>2025-04-29 16:59:25 +0200
commitdb88d50e8924cba8b424c0ea7546b81baccd9c5c (patch)
tree44b2b1082c587b47fb1f08d620ee707ddd4adf27 /modules/home-manager/tmux.nix
parent539b3e2836e4e7177e65b3df10a4bfe68f9f4d23 (diff)
initial commit
Diffstat (limited to 'modules/home-manager/tmux.nix')
-rw-r--r--modules/home-manager/tmux.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/home-manager/tmux.nix b/modules/home-manager/tmux.nix
new file mode 100644
index 0000000..c4bfefc
--- /dev/null
+++ b/modules/home-manager/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;
+ };
+ };
+}
+