From 718d63e31923e3331bdda498b0e54a41e051c3ea Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Mon, 30 Jun 2025 17:24:31 -0400 Subject: [PATCH] add fonts --- hosts/common/core/fonts.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/hosts/common/core/fonts.nix b/hosts/common/core/fonts.nix index 6a33342..bb7824b 100644 --- a/hosts/common/core/fonts.nix +++ b/hosts/common/core/fonts.nix @@ -1,8 +1,18 @@ {pkgs, ...}: { - fonts.packages = with pkgs; [ - font-awesome - nerd-fonts.noto - nerd-fonts.hack - nerd-fonts.jetbrains-mono - ]; + fonts = { + packages = with pkgs; [ + font-awesome + nerd-fonts.noto + nerd-fonts.hack + nerd-fonts.jetbrains-mono + ]; + fontconfig = { + defaultFonts = { + monospace = ["JetBrainsMono Nerd Font" "Hack Nerd Font"]; + sansSerif = ["Noto Sans"]; + serif = ["Noto Serif"]; + emoji = ["Noto Color Emoji"]; + }; + }; + }; }