diff options
Diffstat (limited to 'usecases/desktop/graphical')
-rw-r--r-- | usecases/desktop/graphical/plymouth.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usecases/desktop/graphical/plymouth.nix b/usecases/desktop/graphical/plymouth.nix new file mode 100644 index 0000000..32d85b8 --- /dev/null +++ b/usecases/desktop/graphical/plymouth.nix | |||
@@ -0,0 +1,26 @@ | |||
1 | inputs: { | ||
2 | config, | ||
3 | lib, | ||
4 | pkgs, | ||
5 | ... | ||
6 | }: { | ||
7 | options.reborn.plymouth.enable = | ||
8 | (lib.mkEnableOption "the Plymouth boot") | ||
9 | // {default = true;}; | ||
10 | |||
11 | config = lib.mkIf config.reborn.plymouth.enable { | ||
12 | boot = { | ||
13 | initrd.systemd.enable = true; | ||
14 | |||
15 | loader.timeout = 0; | ||
16 | |||
17 | plymouth = { | ||
18 | enable = true; | ||
19 | themePackages = [pkgs.adi1090x-plymouth-themes]; | ||
20 | theme = "lone"; | ||
21 | }; | ||
22 | |||
23 | kernelParams = ["quiet"]; | ||
24 | }; | ||
25 | }; | ||
26 | } | ||