Extract tmux config

This commit is contained in:
Cyryl Płotnicki 2019-07-14 08:52:02 +01:00
parent 5c1787bbb3
commit 88a096239a
2 changed files with 12 additions and 8 deletions

View file

@ -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
View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
programs.tmux = {
enable = true;
shortcut = "a";
extraConfig = ''
set -g status off
set -g mouse on
'';
};
}