mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 20:43:56 -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;
|
|
};
|
|
};
|
|
}
|