add tmux
This commit is contained in:
parent
2439ddea35
commit
98e7da101d
3 changed files with 18 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
|||
optimize.enable = true;
|
||||
};
|
||||
zsh.enable = true;
|
||||
tmux.enable = true;
|
||||
newsboat.enable = true;
|
||||
ranger.enable = true;
|
||||
};
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./nix
|
||||
./zsh
|
||||
./tmux
|
||||
./newsboat
|
||||
./ranger
|
||||
];
|
||||
|
|
16
modules/shell/tmux/default.nix
Normal file
16
modules/shell/tmux/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.shell.tmux;
|
||||
in
|
||||
{
|
||||
options.modules.shell.tmux = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
tmux
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue