From 5a3efcc0d685ffda06d8cc525462ae5df04d1c5c Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sat, 2 Jul 2022 18:03:33 +0200 Subject: [PATCH] Add fontconfig conf --- nixos/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index b381aed8..c7316234 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -188,6 +188,20 @@ # media-session.enable = true; }; + fonts = { + enableDefaultFonts = true; # Some default fonts for unicode coverage + fontDir.enable = true; + # fonts = []; # Font packages go here, mostly done in HomeManager though + fontconfig = { + enable = true; + defaultFonts = { + serif = [ "Source Han Serif Regular" ]; + sansSerif = [ "Source Han Sans Regular" ]; + monospace = [ "Source Han Mono Regular" ]; + }; + }; + }; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.christoph = { isNormalUser = true;