nix: add lanzaboote

This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 27b763939b
commit 3259c38d75
3 changed files with 229 additions and 1 deletions

14
modules/secureboot.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
sbctl
];
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
}