aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/desktop/components/gtk
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-02-07 22:57:54 -0800
committerCaroline Larimore <caroline@larimo.re>2025-04-14 18:58:49 -0700
commitf94a9071e7ccad349af26add593e855cd9f88f32 (patch)
treec72506f139d9747c487d180ada054eafc86c1be2 /snowfall/modules/home/desktop/components/gtk
parente11a0658b3c47459767ba49ccfe319a2b8c73456 (diff)
migration: gtk theme
Diffstat (limited to 'snowfall/modules/home/desktop/components/gtk')
-rw-r--r--snowfall/modules/home/desktop/components/gtk/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/snowfall/modules/home/desktop/components/gtk/default.nix b/snowfall/modules/home/desktop/components/gtk/default.nix
new file mode 100644
index 0000000..a20cc1f
--- /dev/null
+++ b/snowfall/modules/home/desktop/components/gtk/default.nix
@@ -0,0 +1,26 @@
+{ options, config, lib, pkgs, namespace, ... }:
+
+with lib; with lib.${namespace}; let
+ cfg = config.${namespace}.desktop.components.gtk;
+in {
+ options.${namespace}.desktop.components.gtk = with types; {
+ enable = mkEnableOption "gtk";
+ };
+
+ config = mkIf cfg.enable {
+ gtk = {
+ enable = true;
+
+ #TODO: dynamic theming
+ theme = {
+ package = pkgs.gruvbox-gtk-theme;
+ name = "Gruvbox-Dark";
+ };
+
+ font = {
+ name = "monospace";
+ size = 8;
+ };
+ };
+ };
+}