flake/flakes/nixos/lanzaboote.nix
2023-10-15 08:51:56 +08:00

12 lines
No EOL
264 B
Nix

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