Files
nix-config/modules/nixos/boot/lanzaboote/default.nix
mjallen18 5dc1a96f6d cleanup
2025-07-23 19:36:06 -05:00

18 lines
366 B
Nix

{ config, lib, namespace, ... }:
with lib;
let
cfg = config.${namespace}.bootloader.lanzaboote;
in
{
imports = [ ./options.nix ];
config = mkIf cfg.enable {
boot.lanzaboote = {
enable = cfg.enable;
pkiBundle = "/etc/secureboot";
settings = {
console-mode = "max";
};
configurationLimit = cfg.configLimit;
};
};
}