nixos-configs/nixosModules/plymouth/default.nix
matt1432 24aa4b9842
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: make modules independant and exposed in the flake for outside use
2024-08-02 22:32:29 -04:00

34 lines
532 B
Nix

{
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.boot.plymouth;
in {
config.boot = mkIf cfg.enable {
initrd = {
verbose = false;
systemd.enable = true;
};
consoleLogLevel = 0;
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"
];
loader.timeout = 0;
};
# For accurate stack trace
_file = ./default.nix;
}