Add lanzaboote secure boot support

This commit is contained in:
Fabian Hauser 2024-08-28 17:18:06 +03:00
parent f98abcd5fc
commit 099aeaae99
5 changed files with 230 additions and 7 deletions

View file

@ -34,6 +34,11 @@
swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.efi.canTouchEfiVariables = true;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
}