nixcfg/nixosModules/systemConfig/plymouth/default.nix
2024-04-07 22:16:33 -04:00

21 lines
357 B
Nix

{
pkgs,
lib,
config,
...
}: {
options = {
systemConfig.plymouth.enable =
lib.mkEnableOption
"Enables plymouth boot screen with reduced text verbosity.";
};
config = lib.mkIf config.systemConfig.plymouth.enable {
boot = {
consoleLogLevel = 0;
initrd.verbose = false;
plymouth.enable = true;
};
};
}