2024-11-25 14:22:52 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) mkEnableOption mkIf;
|
|
|
|
|
|
|
|
cfg = config.metacfg.tools.alacritty;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.metacfg.tools.alacritty = {
|
|
|
|
enable = mkEnableOption "alacritty";
|
|
|
|
};
|
|
|
|
|
2024-12-13 09:19:27 +01:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [ alacritty ];
|
|
|
|
};
|
2024-11-25 14:22:52 +01:00
|
|
|
}
|