all repos — nixfiles @ 85c094d51f6169de365fe2466acc0f0f5a353390

System and user configuration, managed by nix and home-manager

Xserver: improve browser font stack
Alan Pearce alan@alanpearce.eu
Tue, 06 Aug 2019 16:35:24 +0200
commit

85c094d51f6169de365fe2466acc0f0f5a353390

parent

12839aaa0916d1f8382b35b9e97c33cc079398f2

1 files changed, 7 insertions(+), 6 deletions(-)

jump to
M modules/services/xserver.nixmodules/services/xserver.nix
@@ -30,12 +30,12 @@ ]; 
   fonts = {
     enableFontDir = true;
-    enableDefaultFonts = true;
+    enableDefaultFonts = false;
     fontconfig = {
       defaultFonts = {
-        monospace = [ "IBM Plex Mono" ];
-        sansSerif = [ "Roboto" ];
-        serif = [ "Roboto Slab" ];
+        monospace = [ "Liberation Mono" ];
+        sansSerif = [ "Liberation Sans" ];
+        serif = [ "Liberation Serif" ];
       };
       penultimate = {
         enable = true;
@@ -62,14 +62,15 @@ font-awesome_5       ibm-plex
       liberation_ttf
       mononoki
-      opensans-ttf
       roboto
       roboto-mono
       roboto-slab
       source-code-pro
       source-sans-pro
       source-serif-pro
-      xorg.fontxfree86type1
+      xorg.fontmiscmisc
+      xorg.fontcursormisc
+      xorg.fontbhlucidatypewriter100dpi
     ];
   };
 }