- Added a module to configure WezTerm with an enable option and system package inclusion. - Enabled WezTerm for aarch64-darwin systems and updated base system packages. - Improves terminal experience by integrating WezTerm into the Darwin configurations.
19 lines
290 B
Nix
19 lines
290 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 ];
|
|
};
|
|
}
|