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

30 lines
444 B
Nix
Raw Normal View History

{
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
(pkgs.nerdfonts.override {
fonts = [
"FiraCode"
"DroidSansMono"
"JetBrainsMono"
];
})
2024-03-21 15:00:36 +01:00
];
};
}