nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 3095e52be37951dfdea9068684238cc1ddaf206e
parent 3f147755e3f2d3f302eb99b5ca892e3222eb5724
Author: vin <vin@vineetk.net>
Date:   Wed,  8 Jan 2025 21:59:17 -0500

add tmux config and remove redundant package declarations

Diffstat:
Mhome.nix | 30+++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/home.nix b/home.nix @@ -9,14 +9,12 @@ in { stateVersion = "24.05"; packages = with pkgs; [ - aerc age dmenu doas kicad librewolf mlocate - mpv mupdf ncdu neofetch @@ -24,9 +22,6 @@ in { profanity qutebrowser rclone - redshift - st - tmux transmission_4 tree xdotool @@ -316,6 +311,8 @@ in { }; mpv = { + enable = true; + bindings = { # I wish there was a more elegant way of setting Anime4K @@ -337,6 +334,29 @@ in { }; }; + tmux = { + enable = true; + + keyMode = "emacs"; + mouse = false; + prefix = "C-s"; + terminal = "screen-256color"; + + extraConfig = '' +# status bar +set-option -g status-style bg=terminal +set-option -g status-style fg=terminal + +set-option -g window-status-format "#[bg=terminal fg=terminal noreverse]#{window_index}:#{window_name}" +set-option -g window-status-current-format "#[bg=black fg=terminal]#{window_index}:#{window_name}#{window_flags}" + +set-option -g status-right "%R %b %d %Y" + +# colorscheme stuff +set-option -sa terminal-features ',*:RGB' +''; + }; + yt-dlp = { enable = true; settings = {