From df553852715e65d6d81dc18523f26e60e2ab3cfe Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 1 Oct 2024 11:51:08 +0200 Subject: [PATCH] fonts: simplify config --- system/programs/fonts.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/system/programs/fonts.nix b/system/programs/fonts.nix index 8d80d9e..57d6dc1 100644 --- a/system/programs/fonts.nix +++ b/system/programs/fonts.nix @@ -4,18 +4,15 @@ noto-fonts noto-fonts-emoji intel-one-mono - (nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];}) + (nerdfonts.override {fonts = ["IntelOneMono"];}) ]; enableDefaultPackages = false; - fontconfig.defaultFonts = let - addAll = builtins.mapAttrs (_: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]); - in - addAll { - serif = ["Noto Serif"]; - sansSerif = ["Inter"]; - monospace = ["Intel One Mono"]; - emoji = []; - }; + fontconfig.defaultFonts = { + serif = ["Noto Serif"]; + sansSerif = ["Inter"]; + monospace = ["IntoneMono NF"]; + emoji = ["Noto Color Emoji"]; + }; }; }