aboutsummaryrefslogtreecommitdiff
path: root/modules/home/desktop/components
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-15 11:45:01 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-15 11:45:01 -0700
commit3d7fc9a4edf1ca323dcda3378eb6810028623f4c (patch)
tree905dc359035a5bdf0cf706a1d710cacecc80eb12 /modules/home/desktop/components
parent7fe05c11b13a1fac41de0cdb6907f7afc3b20f47 (diff)
home: improved theme system
Diffstat (limited to 'modules/home/desktop/components')
-rw-r--r--modules/home/desktop/components/gtk/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/home/desktop/components/gtk/default.nix b/modules/home/desktop/components/gtk/default.nix
index a20cc1f..ccdb031 100644
--- a/modules/home/desktop/components/gtk/default.nix
+++ b/modules/home/desktop/components/gtk/default.nix
@@ -1,7 +1,8 @@
-{ options, config, lib, pkgs, namespace, ... }:
+{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.desktop.components.gtk;
+ theme = config.${namespace}.desktop.theme;
in {
options.${namespace}.desktop.components.gtk = with types; {
enable = mkEnableOption "gtk";
@@ -11,11 +12,7 @@ in {
gtk = {
enable = true;
- #TODO: dynamic theming
- theme = {
- package = pkgs.gruvbox-gtk-theme;
- name = "Gruvbox-Dark";
- };
+ theme = theme.gtk;
font = {
name = "monospace";