summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorMajiir Paktu <majiir@nabaal.net>2022-11-05 19:52:42 -0400
committerMajiir Paktu <majiir@nabaal.net>2022-11-05 19:52:42 -0400
commitbd99b3b8ff843f0859c27dea1cf7ad0cc9bc1753 (patch)
treef9772999fd241019b5372f8007e32d5ac428375c /nixos/modules
parent1f834c8fdaa6f9be2cb633b42982c48fda9a49ee (diff)
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 = [