oizys/modules/desktop/fonts.nix

19 lines
268 B
Nix
Raw Permalink Normal View History

2024-01-28 16:40:33 -06:00
{
pkgs,
config,
lib,
...
2024-05-06 14:32:00 -05:00
}:
let
2024-01-28 16:40:33 -06:00
inherit (lib) mkIf;
2024-05-06 14:32:00 -05:00
in
{
2024-03-21 10:53:27 -05:00
config = mkIf config.oizys.desktop.enable {
2024-01-28 17:39:10 -06:00
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
2024-05-06 14:32:00 -05:00
(nerdfonts.override { fonts = [ "FiraCode" ]; })
2024-03-26 10:40:00 -05:00
recursive
2024-01-28 17:39:10 -06:00
];
};
2024-01-28 16:40:33 -06:00
}