summaryrefslogtreecommitdiff
path: root/system/bootloader/plymouth.nix
blob: 9338a84553268215bf797c0dfe932982543b27dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
      };
    };
  };
}