all repos — char/flake @ c9224fa9fb35ca85ead8bb8225df20e26d959352

nixos flake

profiles/onyx/secure-boot.nix (view raw)

 1{ pkgs, lib, ... }:
 2{
 3  environment.systemPackages = [ pkgs.sbctl ];
 4
 5  # lanzaboote replaces systemd-boot with a signed stub; the upstream module
 6  # asserts that the stock systemd-boot loader is disabled.
 7  boot.loader.systemd-boot.enable = lib.mkForce false;
 8
 9  boot.lanzaboote = {
10    enable = true;
11    pkiBundle = "/var/lib/sbctl";
12  };  
13}