summary refs log tree commit diff stats
path: root/modules/hidpi.nix
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 23:26:29 +0200
committerAlan Pearce2017-09-09 23:26:29 +0200
commit33bdedd376532cd30eb77de11fc7e2341c069531 (patch)
tree99095d5b5289243bfc2012af932c87c89efca8dc /modules/hidpi.nix
parent8eb4aea9debd55b133bdad3c584c270c7367e62c (diff)
downloadnixfiles-33bdedd376532cd30eb77de11fc7e2341c069531.tar.lz
nixfiles-33bdedd376532cd30eb77de11fc7e2341c069531.tar.zst
nixfiles-33bdedd376532cd30eb77de11fc7e2341c069531.zip
Set different fonts for high/low DPI
Diffstat (limited to 'modules/hidpi.nix')
-rw-r--r--modules/hidpi.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/hidpi.nix b/modules/hidpi.nix
index 1f4644c5..762e50e1 100644
--- a/modules/hidpi.nix
+++ b/modules/hidpi.nix
@@ -6,4 +6,12 @@
       terminus_font
     ];
   };
+
+  fonts = {
+    defaultFonts = {
+      monospace = [ "Noto Mono" ];
+      sansSerif = [ "Noto Sans" ];
+      serif = [ "Noto Serif" ];
+    };
+  };
 }