mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 19:29:17 -05:00
21 lines
367 B
Nix
21 lines
367 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.system.plymouth.enable =
|
|
lib.mkEnableOption
|
|
"Enables plymouth boot screen with reduced text verbosity.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.system.plymouth.enable {
|
|
boot = {
|
|
consoleLogLevel = 0;
|
|
initrd.verbose = false;
|
|
plymouth.enable = true;
|
|
};
|
|
};
|
|
}
|