configuration.nix/system/secureboot.nix
2023-04-04 09:04:29 +05:30

11 lines
250 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
];
}