From 9b893a22ee564752351dc36ec4e1a9dbd1e5e3a4 Mon Sep 17 00:00:00 2001 From: Xory Date: Sun, 4 Jan 2026 00:57:04 +0200 Subject: [PATCH] feat: plymouth --- configuration.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/configuration.nix b/configuration.nix index d72d1da..7b0f942 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,6 +11,16 @@ boot.initrd.systemd.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.supportedFilesystems = [ "zfs "]; + + boot.kernelParams = [ + "quiet" + "splash" # plymouth stuff + "udev.log_priority=3" + "rd.systemd.show_status=auto" + "boot.shell_on_fail" # good because we're using quiet mode + "net.ifnames=0" # personal opinion + ]; + boot.kernel.sysctl."kernel.sysrq" = 1; # mostly for REISUB boot.initrd.systemd.services.rollback = { description = "Rollback ZFS root"; @@ -25,6 +35,22 @@ }; boot.kernelPackages = pkgs.linuxPackages; + + # Plymouth + boot.plymouth = { + enable = true; + theme = "lone"; + themePackages = with pkgs; [ + (adi1090x-plymouth-themes.override { + selected_themes = [ "lone" ]; + }) + ]; + }; + + # Silent boot for Plymouth + boot.consoleLogLevel = 3; + boot.initrd.verbose = false; + environment.persistence."/persist" = { enable = true; hideMounts = true;