From c621e40ae9e56d4ed0057021b70b885cbe360cc8 Mon Sep 17 00:00:00 2001 From: Lilly Date: Mon, 5 Jan 2026 16:04:22 +0000 Subject: [PATCH] Auto-commit: 2026-01-05 16:04:22 --- home/desktop/catppuccin.nix | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/home/desktop/catppuccin.nix b/home/desktop/catppuccin.nix index aebff7a..3ae2061 100644 --- a/home/desktop/catppuccin.nix +++ b/home/desktop/catppuccin.nix @@ -1,31 +1,31 @@ -{ - pkgs, - ... -}: +{ pkgs, config, lib, ... }: let variant = "mocha"; accent = "mauve"; + cfg = config.my.desktop; in { - catppuccin = { - enable = true; - accent = "${accent}"; - flavor = "${variant}"; - vscode.profiles.default.enable = false; - cursors.enable = true; - }; + config = lib.mkIf cfg.enable { + catppuccin = { + enable = true; + accent = "${accent}"; + flavor = "${variant}"; + vscode.profiles.default.enable = false; + cursors.enable = true; + }; - gtk = { - enable = true; - theme = { - name = "Catppuccin-GTK-Dark"; - package = pkgs.magnetic-catppuccin-gtk; + gtk = { + enable = true; + theme = { + name = "Catppuccin-GTK-Dark"; + package = pkgs.magnetic-catppuccin-gtk; + }; + }; + + qt = { + enable = true; + platformTheme.name = "ct"; + style.name = "kvantum"; }; }; - - qt = { - enable = true; - platformTheme.name = "ct"; - style.name = "kvantum"; - }; } \ No newline at end of file