oizys/modules/desktop/fonts.nix

16 lines
261 B
Nix

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