2024-08-05 02:51:43 -07:00
|
|
|
({ pkgs, lib, ... }: {
|
|
|
|
environment.systemPackages = [
|
|
|
|
# For debugging and troubleshooting Secure Boot.
|
|
|
|
pkgs.sbctl
|
|
|
|
];
|
2024-08-03 18:33:40 -07:00
|
|
|
|
2024-08-05 02:51:43 -07:00
|
|
|
# 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;
|
2024-08-03 18:33:40 -07:00
|
|
|
|
2024-08-05 02:51:43 -07:00
|
|
|
boot.lanzaboote = {
|
|
|
|
enable = true;
|
|
|
|
pkiBundle = "/etc/secureboot";
|
|
|
|
};
|
|
|
|
})
|