nixcfg/modules/darwin/tools/alacritty/default.nix
Harald Hoyer cbe03d1060 Rename and refactor Darwin-specific modules
Renamed several modules to better align with Darwin-specific configurations. Refactored configuration for Alacritty and removed it from system packages where not needed. Introduced Homebrew settings and cleaned up redundant entries in multiple Nix files.
2024-11-25 14:22:52 +01:00

19 lines
297 B
Nix

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