From 0c95b2fae5d9fc455066330d40121f20092c0026 Mon Sep 17 00:00:00 2001 From: larstvei Date: Wed, 27 Aug 2025 20:36:33 +0200 Subject: [PATCH] Set some default fonts --- system/nixos/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/system/nixos/default.nix b/system/nixos/default.nix index 5d8de27..e3e1966 100644 --- a/system/nixos/default.nix +++ b/system/nixos/default.nix @@ -1,6 +1,17 @@ { pkgs, ... }: { - fonts.packages = import ../../home/fonts { inherit pkgs; }; + + fonts = { + packages = import ../../home/fonts { inherit pkgs; }; + fontconfig = { + enable = true; + defaultFonts = { + serif = [ "Source Serif 4" ]; + sansSerif = [ "Source Sans 3" ]; + monospace = [ "Source Code Pro" ]; + }; + }; + }; programs.fish.enable = true; environment.shells = [ pkgs.fish ];