From 6649f9375419042ec38b8e9140bfb8e53b6072ac Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sat, 21 Jun 2025 14:28:12 +0200 Subject: [PATCH] add plymouth Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> Former-commit-id: 5e67a0bcd2c02d201cf8d074b5fc29aca2e41d0e --- nixos/systemd-boot.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/nixos/systemd-boot.nix b/nixos/systemd-boot.nix index 0bc0317..5f0003e 100644 --- a/nixos/systemd-boot.nix +++ b/nixos/systemd-boot.nix @@ -1,4 +1,8 @@ -{ pkgs, ... }: { +{ + pkgs, + lib, + ... +}: { boot = { bootspec.enable = true; loader = { @@ -17,12 +21,22 @@ kernelParams = [ "quiet" "splash" - "vga=current" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" + "boot.shell_on_fail" ]; consoleLogLevel = 0; initrd.verbose = false; + + plymouth = { + enable = true; + theme = lib.mkForce "cuts_alt"; + themePackages = with pkgs; [ + (adi1090x-plymouth-themes.override { + selected_themes = ["cuts_alt"]; + }) + ]; + }; }; }