marleyos/modules/darwin/programs/wezterm/default.nix
punkfairie cc51153ece
feat(darwin): Big messy darwin bootstrap
I thought about splitting this into smaller commits but fuck it
2024-11-21 20:28:46 -08:00

17 lines
261 B
Nix

{
lib,
config,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.wezterm;
in
{
options.marleyos.programs.wezterm.enable = mkEnableOption "wezterm";
config = mkIf cfg.enable {
homebrew.casks = [ "wezterm" ];
};
}