dotfiles/modules/desktop/fonts.nix
2022-04-30 12:32:00 -04:00

15 lines
275 B
Nix

{ pkgs, lib, gui, ... }: {
config = lib.mkIf gui.enable {
fonts.fonts = with pkgs;
[
gui.font.package # Used for Vim and Terminal
# siji # More icons for Polybar
];
fonts.fontconfig.defaultFonts.monospace = [ gui.font.name ];
};
}