From 3cb02dbf5941519b2e352c976061ac1f7c8e4a55 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Mon, 15 Dec 2025 09:19:55 +0100 Subject: [PATCH] fontconfig --- configuration.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/configuration.nix b/configuration.nix index ecb0c70..d743f81 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,9 +26,35 @@ use-xdg-base-directories = true; }; + fonts.fontconfig.enable = true; + fonts.fontconfig.defaultFonts = { + monospace = [ + "Hack" + ]; + sansSerif = [ + "Notonoto Sans" + "Noto Sans" + ]; + serif = [ + "Notonoto Serif" + "Noto Serif" + ]; + emoji = [ + "Noto Color Emoji" + "Noto Emoji" + "Noto Emoji Blob" + "Noto Monochrome Emoji" + ]; + }; fonts.packages = with pkgs; [ hack-font + nerd-fonts.hack + noto-fonts + noto-fonts-cjk-sans + noto-fonts-cjk-serif noto-fonts-color-emoji + noto-fonts-monochrome-emoji + noto-fonts-emoji-blob-bin ]; services.xserver.xkb.layout = "no";