2024-11-19 10:31:29 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-03-21 15:00:36 +01:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) mkEnableOption mkIf;
|
|
|
|
|
|
|
|
cfg = config.metacfg.tools.alacritty;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.metacfg.tools.alacritty = {
|
|
|
|
enable = mkEnableOption "alacritty";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
alacritty
|
2024-11-19 10:31:29 +01:00
|
|
|
(pkgs.nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"FiraCode"
|
|
|
|
"DroidSansMono"
|
|
|
|
"JetBrainsMono"
|
|
|
|
];
|
|
|
|
})
|
2024-03-21 15:00:36 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|