mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 17:51:54 -05:00
15 lines
338 B
Nix
15 lines
338 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;
|
||
|
};
|
||
|
};
|
||
|
}
|