configuration.nix/system/secureboot.nix

16 lines
256 B
Nix
Raw Normal View History

2023-03-15 22:11:59 +05:30
{
2023-03-25 22:10:09 +05:30
lib,
pkgs,
...
}: {
2023-03-15 22:11:59 +05:30
boot.bootspec.enable = true;
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
environment.systemPackages = with pkgs; [
sbctl
];
}