oizys/modules/desktop/fonts.nix
2024-01-28 16:40:33 -06:00

17 lines
256 B
Nix

{
inputs,
pkgs,
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.desktop;
in {
config = mkIf cfg.enable {
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
};
}