From 98f430b17a09e2a07eef91a7ca1ccf121e251beb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 12 May 2024 14:27:46 -0400 Subject: [PATCH] theme: fixed gtk fonts --- homeManagerModules/desktop/theme.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/theme.nix b/homeManagerModules/desktop/theme.nix index 735d1532..fdb7ca8e 100644 --- a/homeManagerModules/desktop/theme.nix +++ b/homeManagerModules/desktop/theme.nix @@ -149,6 +149,15 @@ style.name = "gtk2"; }; + fonts.fontconfig = { + enable = true; + defaultFonts = { + monospace = [config.alyraffauf.desktop.theme.terminalFont.name]; + serif = ["NotoSerifNerdFont"]; + sansSerif = [config.alyraffauf.desktop.theme.font.name]; + }; + }; + gtk = { enable = true; @@ -163,7 +172,7 @@ }; font = { - name = "${config.alyraffauf.desktop.theme.font.name}-Regular"; + name = "${config.alyraffauf.desktop.theme.font.name}"; package = config.alyraffauf.desktop.theme.font.package; size = config.alyraffauf.desktop.theme.font.size; };