aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux.nix
diff options
context:
space:
mode:
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;
+ };
+ };
+}
+