Extract tmux config
This commit is contained in:
parent
5c1787bbb3
commit
88a096239a
2 changed files with 12 additions and 8 deletions
|
@ -37,6 +37,7 @@ in
|
|||
};
|
||||
};
|
||||
imports = [
|
||||
./programs/tmux.nix
|
||||
./programs/zsh.nix
|
||||
./programs/vim.nix
|
||||
./programs/alacritty.nix
|
||||
|
@ -46,14 +47,6 @@ in
|
|||
home-manager.enable = true;
|
||||
|
||||
fzf.enable = true;
|
||||
tmux = {
|
||||
enable = true;
|
||||
shortcut = "a";
|
||||
extraConfig = ''
|
||||
set -g status off
|
||||
set -g mouse on
|
||||
'';
|
||||
};
|
||||
firefox.enable = true;
|
||||
chromium.enable = true;
|
||||
go.enable = true;
|
||||
|
|
11
nixos/programs/tmux.nix
Normal file
11
nixos/programs/tmux.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
shortcut = "a";
|
||||
extraConfig = ''
|
||||
set -g status off
|
||||
set -g mouse on
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue