aboutsummaryrefslogtreecommitdiff
path: root/modules/system/plymouth.nix
blob: 17ccddc530168af495a36dd4e84a1ffcf8fd3a85 (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
27
28
29
30
31
{
  flake.modules.nixos.plymouth =
    { lib, pkgs, ... }:
    {
      boot = {
        # Show password prompt for encrypted root
        initrd.systemd.enable = true;
        kernelParams = [ "quiet" ];
        loader.systemd-boot.consoleMode = "max";
        plymouth = {
          enable = true;
          theme = "loader_2";
          themePackages = with pkgs; [
            (adi1090x-plymouth-themes.override {
              selected_themes = [
                #"lone"
                #"red_loader"
                #"cuts_alt"
                #"abstract_ring_alt"
                "loader_2"
                #"sliced"
                #"spinner_alt"
                #"sphere"
                #"loader"
              ];
            })
          ];
        };
      };
    };
}