configuration.nix/system/secureboot.nix
2023-03-25 22:10:09 +05:30

15 lines
256 B
Nix

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