aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/home/desktop')
-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;
+ };
+ };
+ };
+}