theme: removed unnecessary '-Regular' suffix from font

theme: fixed icon theme missing trailing -Regular
This commit is contained in:
Aly Raffauf 2024-05-04 21:23:52 -04:00
parent 6c8e3068b0
commit 6f4a7a1040

View file

@ -59,7 +59,7 @@
alyraffauf.desktop.theme.font = { alyraffauf.desktop.theme.font = {
name = lib.mkOption { name = lib.mkOption {
description = "Font name."; description = "Font name.";
default = "NotoSansNerdFont-Regular"; default = "NotoSansNerdFont";
type = lib.types.str; type = lib.types.str;
}; };
size = lib.mkOption { size = lib.mkOption {
@ -158,7 +158,7 @@
}; };
font = { font = {
name = config.alyraffauf.desktop.theme.font.name; name = "${config.alyraffauf.desktop.theme.font.name}-Regular";
package = config.alyraffauf.desktop.theme.font.package; package = config.alyraffauf.desktop.theme.font.package;
size = config.alyraffauf.desktop.theme.font.size; size = config.alyraffauf.desktop.theme.font.size;
}; };