add plymouth

This commit is contained in:
Sakooooo 2023-08-07 23:07:27 +03:00
parent 88e5fb2c44
commit 130b55ea63
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 30 additions and 1 deletions

View file

@ -18,6 +18,8 @@
modules = { modules = {
desktop = { desktop = {
# plymouth
plymouth.enable = true;
kitty.enable = true; kitty.enable = true;
dwm.enable = true; dwm.enable = true;
xmonad.enable = false; xmonad.enable = false;

View file

@ -18,5 +18,7 @@
./media ./media
./dunst ./dunst
./picom ./picom
# boot
./plymouth
]; ];
} }

View file

@ -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
'';
};
};
}