diff --git a/stylix/target.nix b/stylix/target.nix index f8b6861b..0b12847c 100644 --- a/stylix/target.nix +++ b/stylix/target.nix @@ -113,7 +113,11 @@ lib.literalExpression "config.stylix.image != null" else false; - example = config.stylix.image == null; + example = + if autoEnable then + lib.literalExpression "config.stylix.image == null" + else + true; }; mkEnableIf =