23 lines
391 B
Nix
23 lines
391 B
Nix
{ lib
|
|
, config
|
|
, pkgs
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
|
|
cfg = config.plusultra.tools.alacritty;
|
|
in
|
|
{
|
|
options.plusultra.tools.alacritty = {
|
|
enable = mkEnableOption "alacritty";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
alacritty
|
|
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; })
|
|
];
|
|
};
|
|
}
|