stylix: remove cfg.enable from mkEnableTarget default

The individual modules are already gated by `stylix.enable`, so
there is no need for it to also affect the value of
`stylix.targets.«name».enable`.

This should not produce any noticeable change in behavior.
This commit is contained in:
Daniel Thwaites 2024-06-10 20:33:08 +01:00
parent 7682713f6a
commit 11166aa5a2
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

View file

@ -41,7 +41,7 @@ with lib;
mkEnableOption mkEnableOption
"theming for ${humanName}" "theming for ${humanName}"
// { // {
default = cfg.enable && cfg.autoEnable && autoEnable; default = cfg.autoEnable && autoEnable;
example = !autoEnable; example = !autoEnable;
} }
// optionalAttrs autoEnable { // optionalAttrs autoEnable {