diff options
-rw-r--r-- | modules/home/theme.nix | 15 | ||||
-rw-r--r-- | modules/hosts/libreX60/home.nix | 3 |
2 files changed, 16 insertions, 2 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix index a1c4f9b..bc8532e 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -40,6 +40,18 @@ in { default = "CommitMono"; description = "default monospace font"; }; + gtk = { + name = lib.mkOption { + type = lib.types.str; + default = "sans-serif"; + description = "default gtk font"; + }; + size = lib.mkOption { + type = lib.types.int; + default = null; + description = "default gtk font size"; + }; + }; }; }; @@ -55,7 +67,8 @@ in { name = transformColorValue config.theme.mint.icons.color; }; font = { - name = config.theme.font.sansSerif; + name = config.theme.font.gtk.name; + size = config.theme.font.gtk.size; }; cursorTheme = { name = "Adwaita"; diff --git a/modules/hosts/libreX60/home.nix b/modules/hosts/libreX60/home.nix index 453bfd6..21b6480 100644 --- a/modules/hosts/libreX60/home.nix +++ b/modules/hosts/libreX60/home.nix @@ -3,6 +3,7 @@ theme.mint.theme.color = "Dark-Red"; theme.mint.icons.color = "Red"; - theme.font.sansSerif = "Tamzen"; theme.font.monospace = "Tamzen"; + theme.font.gtk.name = "monospace"; + theme.font.gtk.size = 8; } |