aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/home')
-rw-r--r--snowfall/modules/home/desktop/components/gtk/default.nix26
-rw-r--r--snowfall/modules/home/suites/desktop/default.nix4
2 files changed, 30 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;
+ };
+ };
+ };
+}
diff --git a/snowfall/modules/home/suites/desktop/default.nix b/snowfall/modules/home/suites/desktop/default.nix
index 2e73ad0..f80cadb 100644
--- a/snowfall/modules/home/suites/desktop/default.nix
+++ b/snowfall/modules/home/suites/desktop/default.nix
@@ -19,6 +19,10 @@ in {
kitty.enable = true;
flameshot.enable = true;
};
+
+ desktop.components = {
+ gtk.enable = true;
+ };
};
};
}