gtk: check stylix.enable

All targets should check the global `enable` option, not just their own.
This commit is contained in:
Matt Sturgeon 2025-05-11 22:21:05 +01:00
parent 94e68af4a4
commit d419d335c0
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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 =