plymouth: use logo from nixos-icons (#424)

Closes #336
This commit is contained in:
Daniel Thwaites 2024-06-16 15:01:57 +01:00 committed by GitHub
parent 25106f203f
commit 29044a0242
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,13 +52,7 @@ in {
type = with lib.types; either path package;
defaultText = lib.literalMD "NixOS logo";
# Considering that Flake inputs are currently unable to fetch individual
# files, the SVG file is fetched with `pkgs.fetchurl` to avoid downloading
# the entire repository for a single SVG file.
default = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/f84c13adae08e860a7c3f76ab3a9bef916d276cc/logo/nix-snowflake-colours.svg";
sha256 = "pHYa+d5f6MAaY8xWd3lDjhagS+nvwDL3w7zSsQyqH7A=";
};
default = "${pkgs.nixos-icons}/share/icons/hicolor/256x256/apps/nix-snowflake.png";
};
logoAnimated = lib.mkOption {