diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-07-18 13:43:38 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-07-18 13:45:37 +0300 |
commit | 3d69653d6b698928f225418e4a5e1b4f621b4dbe (patch) | |
tree | b8fb4e39e1021534b5f7937589ffccbe7d802efb | |
parent | 7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d (diff) | |
download | nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.gz nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.bz2 nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.lz nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.xz nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.tar.zst nixlib-3d69653d6b698928f225418e4a5e1b4f621b4dbe.zip |
plymouth service: stop splash screen before a failure prompt
-rw-r--r-- | nixos/modules/system/boot/plymouth.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 0552338bd2a5..60a587af8e9f 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 + ''; + }; } |