diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 79ebc7be..63e4ae6b 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -72,6 +72,7 @@ optimize.enable = true; }; zsh.enable = true; + tmux.enable = true; newsboat.enable = true; ranger.enable = true; }; diff --git a/modules/shell/default.nix b/modules/shell/default.nix index d67c39d2..419af2d7 100644 --- a/modules/shell/default.nix +++ b/modules/shell/default.nix @@ -2,6 +2,7 @@ imports = [ ./nix ./zsh + ./tmux ./newsboat ./ranger ]; diff --git a/modules/shell/tmux/default.nix b/modules/shell/tmux/default.nix new file mode 100644 index 00000000..4d043183 --- /dev/null +++ b/modules/shell/tmux/default.nix @@ -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 + ]; + }; +}