nixcfg/modules/darwin/tools/alacritty/default.nix

19 lines
297 B
Nix
Raw Normal View History

{
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 ]; };
}