diff --git a/stylix/target.nix b/stylix/target.nix
index db515c22..ec2b5687 100644
--- a/stylix/target.nix
+++ b/stylix/target.nix
@@ -25,13 +25,14 @@ with lib;
mkOption {
description = "Whether to style ${humanName}.";
type = types.bool;
- defaultText = literalDocBook ''
- When stylix.autoEnable is true:
- Enabled when ${humanName} is installed.
- When stylix.autoEnable is false:
- Defaults to false.
+ # We can't substitute the target name into this description because some
+ # don't make sense: "if the desktop background using Feh is installed"
+ defaultText = literalDocBook ''
+ true if stylix.autoEnable == true
+ and the target is installed, otherwise false.
'';
+
default = config.stylix.autoEnable && autoEnable;
};
}