more cleanup
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user