From 8c8499796e9dd6c2d798597249ab9c01fb810279 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 4 Aug 2024 16:25:50 +0200 Subject: other fonts --- share/common.nix | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) (limited to 'share') diff --git a/share/common.nix b/share/common.nix index 09aac82..62489f2 100644 --- a/share/common.nix +++ b/share/common.nix @@ -408,41 +408,23 @@ in # add ~/bin to PATH environment.homeBinInPath = true; - # more fonts for all users + # fonts for all users fonts = { - # default fonts - enableDefaultPackages = true; + # no default fonts + enableDefaultPackages = false; # ensure we have an emulated global fontdir fontDir.enable = true; - # more fonts - packages = with pkgs; [ - # good coding and terminal font - cascadia-code - - # good UI font - inter - - # unicode capable fonts - babelstone-han - dejavu_fonts - ipafont - kochi-substitute - noto-fonts - noto-fonts-cjk - noto-fonts-cjk-sans - noto-fonts-cjk-serif - noto-fonts-extra - noto-fonts-emoji - ]; + # Nerd Fonts for the win + packages = [ pkgs.nerdfonts ]; # tune fontconfig fontconfig = { # better default fonts defaultFonts = { - monospace = ["Cascadia Code"]; - sansSerif = ["Inter"]; + monospace = ["JetBrainsMono Nerd Font Mono"]; + sansSerif = ["M+1 Nerd Font"]; }; }; }; -- cgit v1.2.3