stylix: simplify mkEnableTarget & mkEnableWallpaper defaultText
Drop the redundant "same as" prefix and instead use a `literalExpression`. Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
df428b562d
commit
93eb9c5401
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
|||
example = !autoEnable;
|
||||
}
|
||||
// lib.optionalAttrs autoEnable {
|
||||
defaultText = lib.literalMD "same as `stylix.autoEnable`";
|
||||
defaultText = lib.literalExpression "stylix.autoEnable";
|
||||
};
|
||||
mkEnableWallpaper =
|
||||
humanName: autoEnable:
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
type = lib.types.bool;
|
||||
}
|
||||
// lib.optionalAttrs autoEnable {
|
||||
defaultText = lib.literalMD "`stylix.image != null`";
|
||||
defaultText = lib.literalExpression "stylix.image != null";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue