summaryrefslogtreecommitdiffstats
path: root/usecases/desktop/graphical/plymouth.nix
blob: 32d85b8db2e3f9e4f05114c4908f0c04dd710794 (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
26
inputs: {
  config,
  lib,
  pkgs,
  ...
}: {
  options.reborn.plymouth.enable =
    (lib.mkEnableOption "the Plymouth boot")
    // {default = true;};

  config = lib.mkIf config.reborn.plymouth.enable {
    boot = {
      initrd.systemd.enable = true;

      loader.timeout = 0;

      plymouth = {
        enable = true;
        themePackages = [pkgs.adi1090x-plymouth-themes];
        theme = "lone";
      };

      kernelParams = ["quiet"];
    };
  };
}