about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-19T16·38+0000
committerVincent Ambo <tazjin@google.com>2020-01-19T16·38+0000
commit7b011de1b800e7404058886fb5b3f665bd0036de (patch)
tree1b213b0f342102f5b1cf2d2575646d9050ea97df
parent3567f8bd0a0dcfb0e91eb94d5230e36458a21607 (diff)
chore(ops/nixos/nugget): Aimlessly tweak font configuration r/419
These settings seem to be very mildly better than what I had before,
but I'm not entirely sure.
-rw-r--r--ops/nixos/nugget/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix
index 735b02e0083e..b86c5b237dca 100644
--- a/ops/nixos/nugget/default.nix
+++ b/ops/nixos/nugget/default.nix
@@ -149,10 +149,21 @@ in pkgs.lib.fix(self: {
     fonts = {
       fonts = with nixpkgs; [
         corefonts
+        dejavu_fonts
         input-fonts
+        jetbrains-mono
         noto-fonts-cjk
         noto-fonts-emoji
       ];
+
+      fontconfig = {
+        hinting.enable = true;
+        subpixel.lcdfilter = "light";
+
+        defaultFonts = {
+          monospace = [ "JetBrains Mono" ];
+        };
+      };
     };
 
     # Configure location (Vauxhall, London) for services that need it.