From d419d335c011960d60b70d3687348efc5bd718e2 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 11 May 2025 22:21:05 +0100 Subject: [PATCH] gtk: check `stylix.enable` All targets should check the global `enable` option, not just their own. --- modules/gtk/hm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gtk/hm.nix b/modules/gtk/hm.nix index 48774d54..dfb63c1a 100644 --- a/modules/gtk/hm.nix +++ b/modules/gtk/hm.nix @@ -38,7 +38,7 @@ in flatpakSupport.enable = config.lib.stylix.mkEnableTarget "support for theming Flatpak apps" true; }; - config = lib.mkIf cfg.enable ( + config = lib.mkIf (config.stylix.enable && cfg.enable) ( lib.mkMerge [ { warnings =