From 54723092636b3702b78d205b1e4547acfebe2b5a Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 14 Oct 2023 10:17:53 -0700 Subject: [PATCH] added tmux to config --- modules/tmux.nix | 16 ++++++++++++++++ users/nixolas.nix | 1 + 2 files changed, 17 insertions(+) create mode 100644 modules/tmux.nix diff --git a/modules/tmux.nix b/modules/tmux.nix new file mode 100644 index 0000000..bc99d36 --- /dev/null +++ b/modules/tmux.nix @@ -0,0 +1,16 @@ +{ config, pkgs, lib, ... }: + +let + +in +{ + programs.tmux = { + enable = true; + terminal = "xterm-256color"; + # Change this for faster resizing, but less precise + resizeAmount = 5; + keyMode = "vi"; + mouse = true; + shell = "${pkgs.zsh}/bin/zsh"; + }; +} diff --git a/users/nixolas.nix b/users/nixolas.nix index 237c793..578b65f 100644 --- a/users/nixolas.nix +++ b/users/nixolas.nix @@ -24,6 +24,7 @@ in ../modules/git.nix ../modules/neovim.nix ../modules/rofi.nix + ../modules/tmux.nix ../modules/wezterm.nix ../modules/xdg.nix ../modules/yazi.nix