more cleanup

This commit is contained in:
mjallen18
2025-09-02 21:08:09 -05:00
parent a6167bf31c
commit 0691806032
18 changed files with 271 additions and 426 deletions

View File

@@ -7,9 +7,14 @@
with lib;
let
cfg = config.${namespace}.bootloader.lanzaboote;
inherit (lib.${namespace}) mkOpt;
in
{
imports = [ ./options.nix ];
options.${namespace}.bootloader.lanzaboote = {
enable = mkEnableOption "enable lanzaboote";
configLimit = mkOpt types.int 10 "Number of boot items to keep";
};
config = mkIf cfg.enable {
boot = {