diff options
author | aleksana <me@aleksana.moe> | 2024-01-23 22:55:18 +0800 |
---|---|---|
committer | aleksana <me@aleksana.moe> | 2024-02-28 09:35:44 +0800 |
commit | ec87671bd192238bfc1f56c2afdeee820aa03f3d (patch) | |
tree | 344da4bbb52c1d3049ec09a4521d78838da02873 /nixos/modules | |
parent | 380761c2f5cbf9281c33e8b9c04ef8dbad4f9862 (diff) |
nixos/plymouth: improving documentation of logo option
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/boot/plymouth.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index b041b8951fa37..c23c5463783b6 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -4,7 +4,6 @@ with lib; let - inherit (pkgs) nixos-icons; plymouth = pkgs.plymouth.override { systemd = config.boot.initrd.systemd.package; }; @@ -97,8 +96,8 @@ in logo = mkOption { type = types.path; # Dimensions are 48x48 to match GDM logo - default = "${nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png"; - defaultText = literalExpression ''"''${nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png"''; + default = "${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png"; + defaultText = literalExpression ''"''${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png"''; example = literalExpression '' pkgs.fetchurl { url = "https://nixos.org/logo/nixos-hires.png"; @@ -107,6 +106,7 @@ in ''; description = lib.mdDoc '' Logo which is displayed on the splash screen. + Currently supports PNG file format only. ''; }; |