From 044b1b8fea44cbff7ecd579841e45ae4847c093b Mon Sep 17 00:00:00 2001 From: coolcuber Date: Tue, 16 Jun 2026 12:54:28 -0400 Subject: [PATCH] nixos/plymouth: add showDelay option --- nixos/modules/system/boot/plymouth.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 3636503992c5..f4923c55e149 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -68,7 +68,7 @@ let configFile = pkgs.writeText "plymouthd.conf" '' [Daemon] - ShowDelay=0 + ShowDelay=${toString cfg.showDelay} DeviceTimeout=8 Theme=${cfg.theme} ${cfg.extraConfig} @@ -166,6 +166,15 @@ in ''; }; + showDelay = mkOption { + type = types.numbers.nonnegative; + default = 0; + example = 0.5; + description = '' + Time (in seconds) to delay the splash screen. + ''; + }; + extraConfig = mkOption { type = types.lines; default = "";