nixos/machines/workman/boot.nix
Felix Buehler e45ffe2fe3
Some checks are pending
/ Build Nix targets (push) Waiting to run
machine/workman: fix boot screen
2025-12-28 15:35:08 +01:00

36 lines
707 B
Nix

{
pkgs,
...
}:
{
boot = {
loader = {
timeout = 0;
systemd-boot = {
enable = true;
configurationLimit = 10;
consoleMode = "max"; # needed for plymouth
editor = true;
};
efi.canTouchEfiVariables = true;
};
initrd = {
systemd.enable = true; # for a nice password prompt
verbose = false;
};
# Enable "Silent boot"
consoleLogLevel = 3;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
plymouth = {
enable = true;
theme = "framework";
themePackages = [ pkgs.framework-plymouth ];
};
};
}