From 32850c49e509f409dd85ccf7b36cabf6e85c0ffe Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 9 Sep 2024 22:34:06 +0200 Subject: [PATCH] font: noto --- modules/desktop/sway.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 35a4ae8..d9f72a9 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -297,16 +297,20 @@ # https://wiki.nixos.org/wiki/Fonts fonts = { - enableDefaultPackages = true; packages = with pkgs; [ + font-awesome # waybar uses Font Awesome icons directly # Nerd Fonts patches glyph icons, such as from Font Awesome, into existing fonts (nerdfonts.override {fonts = ["JetBrainsMono"];}) - font-awesome # waybar uses Font Awesome icons directly + noto-fonts + noto-fonts-color-emoji ]; - fontDir.enable = true; # TODO? fontconfig.defaultFonts = { + emoji = ["Noto Color Emoji"]; monospace = ["JetBrainsMonoNL Nerd Font"]; # NL = NoLigatures + sansSerif = ["Noto Sans"]; + serif = ["Noto Serif"]; }; + fontDir.enable = true; }; environment.systemPackages = with pkgs; [