dotfiles/modules/desktop/fonts.nix

15 lines
285 B
Nix
Raw Normal View History

2022-04-30 16:32:00 +00:00
{ pkgs, lib, gui, ... }: {
config = lib.mkIf gui.enable {
fonts.fonts = with pkgs;
[
2022-05-01 15:16:58 +00:00
pkgs."${gui.font.package}" # Used for Vim and Terminal
2022-04-30 16:32:00 +00:00
# siji # More icons for Polybar
];
fonts.fontconfig.defaultFonts.monospace = [ gui.font.name ];
};
2022-04-29 02:25:05 +00:00
}