diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-05-26 19:02:58 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-26 19:02:58 -0400 |
| commit | 83a7ad67f92f6c67495ccc3055f2094973ac9653 (patch) | |
| tree | f07550cb4c71bec0b4005dbd5399cf65d6692721 /system | |
| parent | refactor bootloaders into modules (diff) | |
| download | dotfiles-nix-83a7ad67f92f6c67495ccc3055f2094973ac9653.tar.gz dotfiles-nix-83a7ad67f92f6c67495ccc3055f2094973ac9653.tar.bz2 dotfiles-nix-83a7ad67f92f6c67495ccc3055f2094973ac9653.zip | |
add plymouth as a splash screen
Diffstat (limited to 'system')
| -rw-r--r-- | system/bootloader/default.nix | 1 | ||||
| -rw-r--r-- | system/bootloader/plymouth.nix | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/system/bootloader/default.nix b/system/bootloader/default.nix index 8ff8125..a498906 100644 --- a/system/bootloader/default.nix +++ b/system/bootloader/default.nix @@ -2,5 +2,6 @@ _: { imports = [ ./grub.nix ./limine.nix + ./plymouth.nix ]; } diff --git a/system/bootloader/plymouth.nix b/system/bootloader/plymouth.nix new file mode 100644 index 0000000..9338a84 --- /dev/null +++ b/system/bootloader/plymouth.nix @@ -0,0 +1,25 @@ +{ + lib, + config, + ... +}: let + inherit (lib) mkIf; + cfg = config.bootloader.plymouth; +in { + config = mkIf cfg.enable { + boot = { + kernelParams = [ + "quiet" + "splash" + "rd.udev.log_level=3" + "systemd.show_status=auto" + "udev.log_priority=3" + "vt.global_cursor_default=0" + ]; + plymouth = { + enable = true; + theme = "bgrt"; + }; + }; + }; +} |