nixos/modules/shell/tmux/default.nix
2023-08-02 15:30:57 +03:00

16 lines
273 B
Nix

{ 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
];
};
}