summary refs log tree commit diff
path: root/nixos/modules/system/boot/plymouth.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-07-18 13:43:38 +0300
committerNikolay Amiantov <ab@fmap.me>2016-07-18 13:45:37 +0300
commit3d69653d6b698928f225418e4a5e1b4f621b4dbe (patch)
treeb8fb4e39e1021534b5f7937589ffccbe7d802efb /nixos/modules/system/boot/plymouth.nix
parent7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d (diff)
downloadnixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.gz
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.bz2
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.lz
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.xz
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.zst
nixpkgs-3d69653d6b698928f225418e4a5e1b4f621b4dbe.zip
plymouth service: stop splash screen before a failure prompt
Diffstat (limited to 'nixos/modules/system/boot/plymouth.nix')
-rw-r--r--nixos/modules/system/boot/plymouth.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index 0552338bd2a..60a587af8e9 100644
--- a/nixos/modules/system/boot/plymouth.nix
+++ b/nixos/modules/system/boot/plymouth.nix
@@ -129,6 +129,11 @@ in
       plymouth update-root-fs --new-root-dir="$targetRoot"
     '';
 
+    # `mkBefore` to ensure that any custom prompts would be visible.
+    boot.initrd.preFailCommands = mkBefore ''
+      plymouth quit --wait
+    '';
+
   };
 
 }