diff --git a/configuration.nix b/configuration.nix index eb230c4..f30a2d6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,7 @@ # Modular configuration ./modules/desktop.nix # Portal, polkit, launcher, lock, wallpaper + ./modules/boot-plymouth.nix # Plymouth boot splash ./modules/gpu-amd.nix # AMD graphics, Vulkan, VA-API ./modules/audio.nix # Bluetooth, audio controls ./modules/gaming.nix # Steam, Gamemode, Lutris, etc. diff --git a/modules/boot-plymouth.nix b/modules/boot-plymouth.nix new file mode 100644 index 0000000..39860c6 --- /dev/null +++ b/modules/boot-plymouth.nix @@ -0,0 +1,47 @@ +# modules/boot-plymouth.nix +# Plymouth boot splash with NixOS branding +{ + config, + pkgs, + lib, + ... +}: + +{ + # ═══════════════════════════════════════════════════════════════ + # PLYMOUTH BOOT SPLASH + # ═══════════════════════════════════════════════════════════════ + + boot.plymouth = { + enable = true; + theme = "nixos-bgrt"; + themePackages = [ pkgs.nixos-bgrt-plymouth ]; + }; + + # ═══════════════════════════════════════════════════════════════ + # SILENT BOOT KERNEL PARAMETERS + # ═══════════════════════════════════════════════════════════════ + + boot.kernelParams = [ + # Plymouth boot splash + "quiet" + "splash" + + # Reduce console log verbosity + "loglevel=3" + "rd.udev.log_level=3" + + # Hide systemd status messages + "systemd.show_status=auto" + + # Hide blinking cursor + "vt.global_cursor_default=0" + ]; + + # ═══════════════════════════════════════════════════════════════ + # CONSOLE SETTINGS + # ═══════════════════════════════════════════════════════════════ + + # Keep console blank during boot + boot.consoleLogLevel = 3; +}