about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 08:40:53 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 08:40:53 -0800
commit67a53429f80eaada87f631747e6d15be044190f9 (patch)
tree00bd1b027c81629a198665cfc5689fb72975cc5b
parenthome-manager: fix one more typo (diff)
downloadworld-67a53429f80eaada87f631747e6d15be044190f9.tar.gz
home-manager: add tmux configuration
-rw-r--r--users/fcuny/common.nix1
-rw-r--r--users/fcuny/tmux.nix13
2 files changed, 14 insertions, 0 deletions
diff --git a/users/fcuny/common.nix b/users/fcuny/common.nix
index ca5e4c8..4c81bae 100644
--- a/users/fcuny/common.nix
+++ b/users/fcuny/common.nix
@@ -16,5 +16,6 @@
   imports = [
     ./git.nix
     ./go.nix
+    ./tmux.nix
   ];
 }
diff --git a/users/fcuny/tmux.nix b/users/fcuny/tmux.nix
new file mode 100644
index 0000000..1a9a2d4
--- /dev/null
+++ b/users/fcuny/tmux.nix
@@ -0,0 +1,13 @@
+{
+  programs.tmux = {
+    enable = true;
+    terminal = "xterm-256color";
+    escapeTime = 0;
+    aggressiveResize = true;
+    shortcut = "z";
+
+    extraConfig = ''
+        setw -g mouse on
+      '';
+    };
+}