23 lines
429 B
Nix
23 lines
429 B
Nix
{ pkgs
|
|
, lib
|
|
, config
|
|
, ... }: with lib; let
|
|
cfg = config.global.gpu;
|
|
in mkIf cfg.enable {
|
|
boot = {
|
|
loader.timeout = mkDefault 0;
|
|
consoleLogLevel = 0;
|
|
initrd.verbose = false;
|
|
initrd.systemd.enable = true;
|
|
plymouth.enable = true;
|
|
kernelParams = [
|
|
"quiet"
|
|
"splash"
|
|
"loglevel=3"
|
|
"rd.systemd.show_status=false"
|
|
"rd.udev.log_level=3"
|
|
"udev.log_priority=3"
|
|
];
|
|
};
|
|
}
|