oizys/modules/desktop/fonts.nix

17 lines
255 B
Nix
Raw Normal View History

2024-01-28 16:40:33 -06:00
{
pkgs,
config,
lib,
...
2024-01-28 17:39:10 -06:00
}: let
2024-01-28 16:40:33 -06:00
inherit (lib) mkIf;
cfg = config.desktop;
in {
config = mkIf cfg.enable {
2024-01-28 17:39:10 -06:00
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
};
2024-01-28 16:40:33 -06:00
}