mirror of
https://github.com/danth/stylix
synced 2024-11-22 04:03:09 +00:00
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:
parent
7682713f6a
commit
11166aa5a2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue