From 7111add0c34dfb78e1e58fcc7cb1cae9243dffac Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 28 Nov 2021 17:16:57 -0500 Subject: [PATCH] Added fonts to graphics --- modules/profiles/graphical.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/modules/profiles/graphical.nix b/modules/profiles/graphical.nix index c47f7a5..c72f3dd 100644 --- a/modules/profiles/graphical.nix +++ b/modules/profiles/graphical.nix @@ -17,4 +17,26 @@ # Enable sound. sound.enable = true; hardware.pulseaudio.enable = true; + + fonts = { + enableDefaultFonts = true; + fonts = with pkgs; [ + alegreya + fira-code + fira-code-symbols + hasklig + inter + liberation_ttf + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + ]; + fontconfig = { + defaultFonts = { + serif = [ "inter" ]; + sansSerif = [ "alegreya" ]; + monospace = [ "hasklig" ]; + }; + }; + }; }