refactor(tmux): move tmux into its own module
This commit is contained in:
parent
fe811e0940
commit
e6623278a2
2 changed files with 15 additions and 8 deletions
10
modules/tmux.nix
Normal file
10
modules/tmux.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -1,6 +1,10 @@
|
|||
{ self, config, pkgs, inputs, ... }:
|
||||
{ self, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/tmux.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "rafiq";
|
||||
homeDirectory = "/home/rafiq";
|
||||
|
@ -33,13 +37,6 @@
|
|||
enableAutoUpdates = true;
|
||||
};
|
||||
|
||||
tmux = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
'';
|
||||
};
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue