nixos/modules/desktop/plymouth/default.nix

25 lines
381 B
Nix
Raw Normal View History

2023-08-08 00:07:27 +04:00
{
outputs,
options,
config,
lib,
pkgs,
...
}:
2024-08-01 16:24:09 +04:00
let
2023-08-08 00:07:27 +04:00
cfg = config.modules.desktop.plymouth;
in {
options.modules.desktop.plymouth = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-08-08 00:07:27 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-08-08 00:07:27 +04:00
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
};
}