dotfiles/modules/desktop/addons/fonts/default.nix

21 lines
327 B
Nix
Raw Normal View History

2023-03-12 03:59:11 +00:00
{
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"];})
];
};
}