nix_config/home/gui/fonts.nix
2024-09-05 12:28:09 -06:00

19 lines
290 B
Nix

{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.local.gui.fonts;
in {
options.local.gui.fonts.enable = mkEnableOption "Font management";
config = mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
jetbrains-mono
];
};
}