summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-01-31 15:47:45 +0100
committerGitHub <noreply@github.com>2023-01-31 15:47:45 +0100
commitc3b1fd8ba170b3eae68debe333e0026e84c4898f (patch)
tree1f1f4fd9b7894c395f587c5ac5bda73577737f07 /nixos/modules
parent32af39465247228544de2accf6b960efe7463510 (diff)
parentbd99b3b8ff843f0859c27dea1cf7ad0cc9bc1753 (diff)
Merge pull request #199784 from Majiir/fix-plymouth-start
nixos/plymouth: don't start Plymouth on config switch
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/plymouth.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index 9b6472fea429..a1ab70938575 100644
--- a/nixos/modules/system/boot/plymouth.nix
+++ b/nixos/modules/system/boot/plymouth.nix
@@ -146,6 +146,9 @@ in
systemd.services.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ];
systemd.paths.systemd-ask-password-plymouth.wantedBy = [ "multi-user.target" ];
+ # Prevent Plymouth taking over the screen during system updates.
+ systemd.services.plymouth-start.restartIfChanged = false;
+
boot.initrd.systemd = {
extraBin.plymouth = "${plymouth}/bin/plymouth"; # for the recovery shell
storePaths = [