add: plymouth boot animation
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
# Modular configuration
|
# Modular configuration
|
||||||
./modules/desktop.nix # Portal, polkit, launcher, lock, wallpaper
|
./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/gpu-amd.nix # AMD graphics, Vulkan, VA-API
|
||||||
./modules/audio.nix # Bluetooth, audio controls
|
./modules/audio.nix # Bluetooth, audio controls
|
||||||
./modules/gaming.nix # Steam, Gamemode, Lutris, etc.
|
./modules/gaming.nix # Steam, Gamemode, Lutris, etc.
|
||||||
|
|||||||
47
modules/boot-plymouth.nix
Normal file
47
modules/boot-plymouth.nix
Normal file
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user