2023-12-15 15:18:36 +00:00
|
|
|
{lib, ...}: {
|
2023-05-16 19:10:41 +00:00
|
|
|
# This should already be here from switching to bootspec earlier.
|
|
|
|
# It's not required anymore, but also doesn't do any harm.
|
|
|
|
boot.bootspec.enable = true;
|
|
|
|
|
|
|
|
# Lanzaboote currently replaces the systemd-boot module.
|
|
|
|
# This setting is usually set to true in configuration.nix
|
|
|
|
# generated at installation time. So we force it to false
|
|
|
|
# for now.
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
|
|
|
|
boot.lanzaboote = {
|
|
|
|
enable = true;
|
|
|
|
pkiBundle = "/etc/secureboot";
|
|
|
|
};
|
|
|
|
}
|