aboutsummaryrefslogtreecommitdiff
path: root/modules/system/plymouth.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/plymouth.nix')
-rw-r--r--modules/system/plymouth.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/system/plymouth.nix b/modules/system/plymouth.nix
new file mode 100644
index 0000000..17ccddc
--- /dev/null
+++ b/modules/system/plymouth.nix
@@ -0,0 +1,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"
+ ];
+ })
+ ];
+ };
+ };
+ };
+}