nixos/modules/desktop/plymouth/default.nix

25 lines
383 B
Nix
Raw Normal View History

2023-08-08 00:07:27 +04:00
{
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;
2023-08-08 10:52:32 +04:00
};
2023-09-01 08:02:44 +04:00
# systemd.services.plymouth-quit = {
# preStart = "${pkgs.coreutils}/bin/sleep 7";
# };
2023-08-08 00:07:27 +04:00
};
}