diff options
-rw-r--r-- | usecases/desktop/graphical.nix | 1 | ||||
-rw-r--r-- | usecases/desktop/graphical/plymouth.nix | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/usecases/desktop/graphical.nix b/usecases/desktop/graphical.nix index 3e9da0d..3a4a9c9 100644 --- a/usecases/desktop/graphical.nix +++ b/usecases/desktop/graphical.nix | |||
@@ -7,6 +7,7 @@ inputs: { | |||
7 | (import ./graphical/firefox.nix inputs) | 7 | (import ./graphical/firefox.nix inputs) |
8 | (import ./graphical/gtk.nix inputs) | 8 | (import ./graphical/gtk.nix inputs) |
9 | (import ./graphical/mpv.nix inputs) | 9 | (import ./graphical/mpv.nix inputs) |
10 | (import ./graphical/plymouth.nix inputs) | ||
10 | (import ./graphical/rofi.nix inputs) | 11 | (import ./graphical/rofi.nix inputs) |
11 | (import ./graphical/sway.nix inputs) | 12 | (import ./graphical/sway.nix inputs) |
12 | (import ./graphical/waybar.nix inputs) | 13 | (import ./graphical/waybar.nix inputs) |
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 | } | ||