This commit is contained in:
Aditya 2024-04-11 18:08:55 +05:30
parent adc0fe1b36
commit f1bbcb2cd1
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
3 changed files with 33 additions and 22 deletions

View file

@ -106,28 +106,6 @@
"electron-25.9.0"
];
programs.tmux = {
enable = true;
mouse = true;
plugins = with pkgs.tmuxPlugins; [
better-mouse-mode
#dracula
#gruvbox
#nord
#onedark-theme
#power-theme
resurrect
#tmux-colors-solarized
tmux-fzf
];
extraConfig = ''
set-option -g mouse on
set -g default-terminal "screen-256color"
'';
};
#programs.nixvim = import ./nixvim.nix pkgs;
programs.neovim = {
enable = false;
defaultEditor = true;

View file

@ -3,6 +3,7 @@
./bash
./kitty
./session-vars
./tmux
./zsh
];
@ -10,5 +11,6 @@
bash.enable = lib.mkDefault true;
kitty.enable = lib.mkDefault true;
tmux.enable = lib.mkDefault true;
zsh.enable = lib.mkDefault true;
}

View file

@ -0,0 +1,31 @@
{
config,
lib,
pkgs,
...
}: {
options = {
tmux.enable = lib.mkEnableOption "enable tmux";
};
config = lib.mkIf config.tmux.enable {
programs.tmux = {
enable = true;
mouse = true;
plugins = with pkgs.tmuxPlugins; [
better-mouse-mode
#dracula
#gruvbox
#nord
#onedark-theme
#power-theme
resurrect
#tmux-colors-solarized
tmux-fzf
];
extraConfig = ''
set-option -g mouse on
set -g default-terminal "screen-256color"
'';
};
};
}