2024-06-08 23:40:44 -04:00
|
|
|
{
|
2024-07-10 20:38:03 -04:00
|
|
|
config,
|
|
|
|
lib,
|
2024-06-08 23:40:44 -04:00
|
|
|
...
|
2024-07-10 20:38:03 -04:00
|
|
|
}: let
|
2024-08-02 22:32:29 -04:00
|
|
|
inherit (lib) mkIf;
|
2024-07-10 20:38:03 -04:00
|
|
|
|
|
|
|
cfg = config.boot.plymouth;
|
|
|
|
in {
|
2024-08-02 22:32:29 -04:00
|
|
|
config.boot = mkIf cfg.enable {
|
2023-10-15 17:40:57 -04:00
|
|
|
initrd = {
|
|
|
|
verbose = false;
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-12-30 00:06:27 -05:00
|
|
|
consoleLogLevel = 0;
|
|
|
|
|
2023-10-15 17:40:57 -04:00
|
|
|
kernelParams = [
|
|
|
|
"quiet"
|
|
|
|
"splash"
|
|
|
|
"boot.shell_on_fail"
|
|
|
|
"i915.fastboot=1"
|
|
|
|
"loglevel=3"
|
|
|
|
"rd.systemd.show_status=false"
|
|
|
|
"rd.udev.log_level=3"
|
|
|
|
"udev.log_priority=3"
|
|
|
|
];
|
|
|
|
|
2024-07-10 21:27:29 -04:00
|
|
|
loader.timeout = 0;
|
2023-10-15 17:40:57 -04:00
|
|
|
};
|
2024-08-02 22:32:29 -04:00
|
|
|
|
|
|
|
# For accurate stack trace
|
|
|
|
_file = ./default.nix;
|
2023-10-15 17:40:57 -04:00
|
|
|
}
|