diff --git a/nix/homes/aarch64-darwin/sab@mbp13/default.nix b/nix/homes/aarch64-darwin/sab@mbp13/default.nix index ca2c0ea..22a65f2 100644 --- a/nix/homes/aarch64-darwin/sab@mbp13/default.nix +++ b/nix/homes/aarch64-darwin/sab@mbp13/default.nix @@ -14,8 +14,6 @@ with lib.custom; { }; cli-apps = { - # zsh = enabled; - # tmux = enabled; home-manager = enabled; atuin = enabled; neovim = enabled; diff --git a/nix/modules/darwin/desktop/addons/skhd/default.nix b/nix/modules/darwin/desktop/addons/skhd/default.nix index 0ae5746..d5c5084 100644 --- a/nix/modules/darwin/desktop/addons/skhd/default.nix +++ b/nix/modules/darwin/desktop/addons/skhd/default.nix @@ -138,7 +138,7 @@ in { ctrl + shift - d : yabai -m space --destroy # Applications - alt - x : /Users/sab/.nix-profile/bin/kitty + alt - x : /Applications/Nix\ Apps/WezTerm.app/wezterm ctrl + alt - b: /Applications/Firefox.App/Contents/MacOS/firefox # -- Starting/Stopping/Restarting Yabai -- diff --git a/nix/modules/darwin/desktop/addons/wezterm/default.nix b/nix/modules/darwin/desktop/addons/wezterm/default.nix new file mode 100644 index 0000000..290504b --- /dev/null +++ b/nix/modules/darwin/desktop/addons/wezterm/default.nix @@ -0,0 +1,22 @@ +inputs @ { + options, + config, + lib, + pkgs, + ... +}: +with lib; +with lib.custom; let + cfg = config.custom.desktop.addons.wezterm; +in { + options.custom.desktop.addons.wezterm = with types; { + enable = mkBoolOpt false "Whether or not to enable wezterm."; + }; + + config = mkIf cfg.enable { + # System package required as program via home-manager don't appear in Apps + environment.systemPackages = with pkgs; [ + wezterm + ]; + }; +} diff --git a/nix/systems/aarch64-darwin/mbp13/default.nix b/nix/systems/aarch64-darwin/mbp13/default.nix index f2b607d..2c3819e 100644 --- a/nix/systems/aarch64-darwin/mbp13/default.nix +++ b/nix/systems/aarch64-darwin/mbp13/default.nix @@ -11,6 +11,7 @@ with lib.custom; { }; desktop.yabai = enabled; + desktop.addons.wezterm = enabled; }; # suites.common.enable = true; # Enables the basics, like audio, networking, ssh, etc.