lanzaboote: add mkEnableOption

This commit is contained in:
Bloxx12 2025-05-17 23:45:38 +02:00
commit f9688aacb2
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -6,12 +6,16 @@
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.modules.system.boot.lanzaboote;
in {
options.modules.system.boot.lanzaboote.enable = mkEnableOption "Lanzaboote";
imports = [
inputs.lanzaboote.nixosModules.lanzaboote
];
config = mkIf false {
config = mkIf cfg.enable {
boot = {
lanzaboote = {
enable = true;