From 5c564a355f88145105e1b6475e274f4f06e5d143 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 8 Aug 2023 09:52:32 +0300 Subject: [PATCH] fix plymouth --- hosts/sakotop/configuration.nix | 2 +- modules/desktop/plymouth/default.nix | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index fd9c53bd..c9e9de5e 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -19,7 +19,7 @@ modules = { desktop = { # plymouth - plymouth.enable = false; + plymouth.enable = true; kitty.enable = true; dwm.enable = true; xmonad.enable = false; diff --git a/modules/desktop/plymouth/default.nix b/modules/desktop/plymouth/default.nix index 3dc60c87..5368d026 100644 --- a/modules/desktop/plymouth/default.nix +++ b/modules/desktop/plymouth/default.nix @@ -16,10 +16,9 @@ in { config = mkIf cfg.enable { boot.plymouth = { enable = true; - extraConfig = '' - [Daemon] - ShowDelay=5 - ''; + }; + systemd.services.plymouth-quit = { + preStart = "${pkgs.coreutils}/bin/sleep 3"; }; }; }