summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-04-19 15:52:39 +0200
committerAlan Pearce2023-04-19 15:57:43 +0200
commit35d2774d1a867c97419740e7297ae00974108ff4 (patch)
treee4a43d591e6f8707d94ba0063a9db326aa4f525f /system/settings
parentdd393d24735e325a33f6551c4ca9bef14f87dd80 (diff)
downloadnixfiles-35d2774d1a867c97419740e7297ae00974108ff4.tar.lz
nixfiles-35d2774d1a867c97419740e7297ae00974108ff4.tar.zst
nixfiles-35d2774d1a867c97419740e7297ae00974108ff4.zip
xserver: tweak font setup
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/services/xserver.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix
index 675db61d..656132ea 100644
--- a/system/settings/services/xserver.nix
+++ b/system/settings/services/xserver.nix
@@ -34,15 +34,10 @@ with lib; {
     enableDefaultFonts = false;
     fontconfig = {
       antialias = true;
-      subpixel = mkIf config.fonts.fontconfig.antialias {
-        lcdfilter = "default";
-        rgba = "rgb";
-      };
-      useEmbeddedBitmaps = !config.fonts.fontconfig.antialias;
       defaultFonts = {
-        monospace = [ "Source Code Pro" ];
-        sansSerif = [ "Cantarell" ];
-        serif = [ "Times New Roman" ];
+        monospace = [ "iA Writer Mono S" ];
+        sansSerif = [ "Source Sans Pro" ];
+        serif = [ "Source Serif Pro" ];
       };
 
       localConf = ''
@@ -80,6 +75,8 @@ with lib; {
         fira-mono
         ibm-plex
 
+        oxygenfonts
+
         source-code-pro
         source-sans-pro
         source-serif-pro