Re-enable lanzaboote

This commit is contained in:
Fern Garden 2025-09-20 09:18:24 +08:00
parent d7bbfe8133
commit 56019d1959

View file

@ -1,8 +1,20 @@
{
{lib, ...}:
with lib; {
# Kernel modules.
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod"];
boot.kernelModules = ["kvm-intel"];
# Enable lanzaboote & secure boot.
boot.initrd.systemd.enable = true;
boot.loader.systemd-boot.enable = mkForce false;
boot.bootspec.enable = true;
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
settings.timeout = 0;
};
# Full disk encryption.
boot.initrd.luks.devices."nvme0n1p2_crypt".device = "/dev/disk/by-uuid/7196bd89-099f-4e9e-80e5-3d6d555272b1";