dotfiles/modules/desktop/addons/fonts/default.nix
2023-03-11 20:03:48 -08:00

21 lines
327 B
Nix

{
options,
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.aa.desktop.addons.fonts;
in {
options.aa.desktop.addons.fonts = with types; {
enable = mkEnableOption "manage fonts";
};
config = mkIf cfg.enable {
fonts.fonts = with pkgs; [
(nerdfonts.override {fonts = ["Hack"];})
];
};
}