feat(nix): enable WezTerm support on Darwin systems
- 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.
This commit is contained in:
parent
3633e3995c
commit
64ed5ca881
3 changed files with 21 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ in
|
|||
wget
|
||||
ssh-tresor
|
||||
starship
|
||||
wezterm
|
||||
];
|
||||
shells = [
|
||||
pkgs.fish
|
||||
|
|
|
|||
19
modules/darwin/tools/wezterm/default.nix
Normal file
19
modules/darwin/tools/wezterm/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -30,6 +30,7 @@ with lib.metacfg;
|
|||
tools = {
|
||||
direnv.enable = true;
|
||||
alacritty.enable = true;
|
||||
wezterm.enable = true;
|
||||
};
|
||||
build.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue