nixos/global/gui/plymouth.nix

23 lines
433 B
Nix
Raw Normal View History

{ pkgs
, lib
, config
, ... }: with lib; let
2024-01-07 22:01:31 +08:00
cfg = config.global.gui;
in mkIf cfg.enable {
boot = {
loader.timeout = lib.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"
];
};
}