Files
nix-config/modules/nixos/boot/lanzaboote/default.nix
mjallen18 3d213c8769 nixfmt
2025-07-24 11:06:08 -05:00

24 lines
375 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;
};
};
}