aboutsummaryrefslogtreecommitdiff
path: root/modules/home/desktop/components
diff options
context:
space:
mode:
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";