font: noto

This commit is contained in:
Casper V. Kristensen 2024-09-09 22:34:06 +02:00
parent 59226cc39f
commit 32850c49e5

View file

@ -297,16 +297,20 @@
# https://wiki.nixos.org/wiki/Fonts # https://wiki.nixos.org/wiki/Fonts
fonts = { fonts = {
enableDefaultPackages = true;
packages = with pkgs; [ packages = with pkgs; [
font-awesome # waybar uses Font Awesome icons directly
# Nerd Fonts patches glyph icons, such as from Font Awesome, into existing fonts # Nerd Fonts patches glyph icons, such as from Font Awesome, into existing fonts
(nerdfonts.override {fonts = ["JetBrainsMono"];}) (nerdfonts.override {fonts = ["JetBrainsMono"];})
font-awesome # waybar uses Font Awesome icons directly noto-fonts
noto-fonts-color-emoji
]; ];
fontDir.enable = true; # TODO?
fontconfig.defaultFonts = { fontconfig.defaultFonts = {
emoji = ["Noto Color Emoji"];
monospace = ["JetBrainsMonoNL Nerd Font"]; # NL = NoLigatures monospace = ["JetBrainsMonoNL Nerd Font"]; # NL = NoLigatures
sansSerif = ["Noto Sans"];
serif = ["Noto Serif"];
}; };
fontDir.enable = true;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [