From 061cb8bd9272cb95883a643fd9bb116e04807bcb Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 8 Jan 2023 11:34:56 -0800 Subject: [PATCH] Disable default fonts, now M+ displays in Firefox instead of unifont --- hosts/desktop.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index efd8548..77b41fe 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -44,12 +44,15 @@ in hardware.pulseaudio.enable = true; nixpkgs.config.pulseaudio = true; - fonts.fonts = with pkgs; [ - # noto-fonts-cjk doesn't display in Discord for some reason - # mplus-outline-fonts.osdnRelease is no longer updated and is now mplus-outline-fonts.githubRelease, - # but で renders weird for some reason in the GitHub release, so I'm sticking to OSDN - mplus-outline-fonts.osdnRelease - noto-fonts - (nerdfonts.override { fonts = [ "FiraCode" ]; }) # required for icons - ]; + fonts = { + enableDefaultFonts = false; + fonts = with pkgs; [ + # noto-fonts-cjk doesn't display in Discord for some reason + # mplus-outline-fonts.osdnRelease is no longer updated and is now mplus-outline-fonts.githubRelease, + # but で renders weird for some reason in the GitHub release, so I'm sticking to OSDN + mplus-outline-fonts.osdnRelease + noto-fonts + (nerdfonts.override { fonts = [ "FiraCode" ]; }) # required for icons + ]; + }; }