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 = {
desktop = {
# plymouth
plymouth.enable = true;
kitty.enable = true;
dwm.enable = true;
xmonad.enable = false;

View file

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

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