mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 19:52:52 +00:00
add tmux
This commit is contained in:
parent
adc0fe1b36
commit
f1bbcb2cd1
3 changed files with 33 additions and 22 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
31
modules/home-manager/tmux/default.nix
Normal file
31
modules/home-manager/tmux/default.nix
Normal 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"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue