configuration.nix/system/secureboot.nix

13 lines
250 B
Nix
Raw Normal View History

2023-03-15 22:11:59 +05:30
{ 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
];
}