nixcfg/modules/darwin/tools/wezterm/default.nix
2026-02-24 13:25:42 +01:00

20 lines
295 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.metacfg.tools.wezterm;
in
{
options.metacfg.tools.wezterm = {
enable = mkEnableOption "wezterm";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ wezterm ];
};
}