From 2da7999816b7d0db3e47d1cef34a3963882a76da Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 13 Jun 2019 10:17:34 -0700 Subject: move tmux to nix config --- common.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index eec499a..d23b238 100644 --- a/common.nix +++ b/common.nix @@ -32,10 +32,6 @@ in source = ./mailcap; target = ".mailcap"; }; - tmux = { - source = ./tmux; - target = ".tmux.conf"; - }; }; }; @@ -45,6 +41,18 @@ in path = "${homedir}/cfg/home-manager"; }; + tmux = { + enable = true; + extraConfig = builtins.readFile ./tmux; + baseIndex = 0; + clock24 = true; + customPaneNavigationAndResize = true; + keyMode = "vi"; + shortcut = "'C-\\'"; + terminal = "screen-256color"; + sensibleOnTop = true; + }; + ssh = { enable = true; forwardAgent = true; -- cgit v1.2.3