add secure boot support

This commit is contained in:
2025-11-11 15:55:18 -06:00
parent f7ece5059d
commit 2ea0b96230

View File

@@ -23,6 +23,8 @@ in {
# force disable systemd-boot so lanzaboote can be used
boot.loader.systemd-boot.enable = lib.mkForce false;
# make sure the keys are generated and in the pkiBundle path
# with `nix-shell -p --run "sbctl create-keys"`
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";