Update other options to suit recent Plymouth changes 📝

This is mainly documentation changes.

Also changed the default of `targets.grub.useImage` to a hard false,
as Plymouth doesn't use the wallpaper image any more.
This commit is contained in:
Daniel Thwaites 2022-10-06 15:04:24 +01:00
parent 16ecd5523a
commit 98114ad3ed
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D
2 changed files with 6 additions and 10 deletions

View file

@ -27,13 +27,9 @@ in {
enable = config.lib.stylix.mkEnableTarget "GRUB" true;
useImage = lib.mkOption {
description = ''
Whether to use your wallpaper image for the GRUB background.
If this is disabled, a plain color will be used instead.
'';
description = "Whether to use your wallpaper image as the GRUB background.";
type = lib.types.bool;
default = config.stylix.targets.plymouth.enable;
defaultText = lib.literalExpression "stylix.targets.plymouth.enable";
default = false;
};
};

View file

@ -28,10 +28,10 @@ in {
image = mkOption {
type = types.coercedTo types.package toString types.path;
description = ''
Wallpaper image. This is set as the background of your desktop
environment, if possible, and additionally used as the Plymouth splash
screen if that is enabled. Colours are automatically selected from the
picture to generate the system colour scheme.
Wallpaper image.
This is set as the background of your desktop environment, if possible,
and used to generate a colour scheme if you don't set one manually.
'';
};