dotfiles/modules/desktop/fonts.nix
2022-05-01 11:16:58 -04:00

15 lines
285 B
Nix

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