summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-03-24 21:53:08 +0100
committerGitHub <noreply@github.com>2024-03-24 21:53:08 +0100
commitc51e10cbd27ed5a07235b5b713077662a1659b04 (patch)
treeb036b8da2aeda66ac4b0e79ed7987aa0bd721cd3 /nixos/modules/system
parentdabaa7ac657292ff80d7b738428e75544aea450d (diff)
parentec87671bd192238bfc1f56c2afdeee820aa03f3d (diff)
Merge pull request #283240 from Aleksanaa/nixos/plymouth
nixos/plymouth: improving documentation of logo option
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/plymouth.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index 16bca40993ae..85f0fd4622df 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.
'';
};