cleanup boot files

This commit is contained in:
nyxerinys 2026-10-02 18:39:59 -05:00
parent 7eb0a715ea
commit eca65aa860
6 changed files with 113 additions and 98 deletions

View file

@ -0,0 +1,20 @@
{ inputs, ... }:
{
imports = [
inputs.lanzaboote.nixosModules.lanzaboote
];
boot = {
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
autoGenerateKeys.enable = true;
autoEnrollKeys.enable = true;
};
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.enable = lib.mkForce false;
};
environment.systemPackages = [ pkgs.sbctl ];
}