diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index b418b4b9..c9e9de5e 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -18,6 +18,8 @@ modules = { desktop = { + # plymouth + plymouth.enable = true; kitty.enable = true; dwm.enable = true; xmonad.enable = false; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 00ed1266..bb724b19 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -6,7 +6,7 @@ ./dwm ./hyprland ./xmonad - # desktop environ men t s s s s + # desktop environ men t s s s s ./kde ./gnome # stuffs @@ -18,5 +18,7 @@ ./media ./dunst ./picom + # boot + ./plymouth ]; } diff --git a/modules/desktop/plymouth/default.nix b/modules/desktop/plymouth/default.nix new file mode 100644 index 00000000..3dc60c87 --- /dev/null +++ b/modules/desktop/plymouth/default.nix @@ -0,0 +1,25 @@ +{ + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.plymouth; +in { + options.modules.desktop.plymouth = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + boot.plymouth = { + enable = true; + extraConfig = '' + [Daemon] + ShowDelay=5 + ''; + }; + }; +}