nixos/plymouth: add actual logo defaultText and move existing to example

Fixes #221391
This commit is contained in:
Lily Foster 2023-05-03 20:53:42 -04:00
parent ef0c0d5c2f
commit 7fb3975256
No known key found for this signature in database
GPG Key ID: 49340081E484C893

View File

@ -98,7 +98,8 @@ in
type = types.path;
# Dimensions are 48x48 to match GDM logo
default = "${nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png";
defaultText = literalExpression ''pkgs.fetchurl {
defaultText = literalExpression ''"''${nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png"'';
example = literalExpression ''pkgs.fetchurl {
url = "https://nixos.org/logo/nixos-hires.png";
sha256 = "1ivzgd7iz0i06y36p8m5w48fd8pjqwxhdaavc0pxs7w1g7mcy5si";
}'';