oizys/modules/desktop/fonts.nix

17 lines
261 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;
2024-02-27 10:11:44 -06:00
cfg = config.oizys.desktop;
2024-01-28 16:40:33 -06:00
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
}