diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-04 22:51:42 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-04 22:51:42 +0200 |
commit | 17570a6e71f7e8440de6dda657326053eaf0dcb8 (patch) | |
tree | 80a17a9158b7fb841f7f8465c1e5b99260d31f1d /share/common.nix | |
parent | 9ec5118dd7cbec5129198d1cc2eb60d0523becae (diff) |
even better ui fonts
Diffstat (limited to 'share/common.nix')
-rw-r--r-- | share/common.nix | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/share/common.nix b/share/common.nix index f8c85e0..033f42a 100644 --- a/share/common.nix +++ b/share/common.nix @@ -416,17 +416,42 @@ in enableDefaultPackages = false; # ensure we have an emulated global fontdir - fontDir.enable = true; + fontDir = { + enable = true; + decompressFonts = true; + }; - # Nerd Fonts for the win - packages = [ pkgs.nerdfonts ]; + # fonts I use + packages = with pkgs; [ + # good serif ui font + alegreya + + # good sans-serif ui font + inter + + # good monospace coding and terminal font + jetbrains-mono + + # unicode capable fonts for fallbacks + 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 + ]; # tune fontconfig fontconfig = { - # better default fonts + enable = true; defaultFonts = { - monospace = ["M+1Code Nerd Font Mono"]; - sansSerif = ["M+1 Nerd Font"]; + monospace = [ "JetBrains Mono" ]; + sansSerif = [ "Inter" ]; + serif = [ "Alegreya" ]; }; }; }; |