mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 20:31:54 -05:00
16 lines
344 B
Nix
16 lines
344 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;
|
|
};
|
|
};
|
|
}
|