diff options
author | sefidel <contact@sefidel.net> | 2024-08-04 22:14:32 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-08-06 16:01:39 +0900 |
commit | b675bd54bd5bf96cbc326ea62a0549338aa27156 (patch) | |
tree | 03d11ba1bff275ab92c0743f337ac1cb2600c3d9 /modules | |
parent | f32cda5a3179fdce587349e8014fa2ee012de4ee (diff) | |
download | nixrc-b675bd54bd5bf96cbc326ea62a0549338aa27156.tar.gz nixrc-b675bd54bd5bf96cbc326ea62a0549338aa27156.zip |
feat(modules/secure-boot)!: import lanzaboot inside module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/secure-boot.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/secure-boot.nix b/modules/secure-boot.nix index 72f2d83..7f079e4 100644 --- a/modules/secure-boot.nix +++ b/modules/secure-boot.nix @@ -1,9 +1,13 @@ -{ config, pkgs, lib, ... }: +{ config, inputs, pkgs, lib, ... }: let cfg = config.modules.secure-boot; in { + imports = [ + inputs.lanzaboote.nixosModules.lanzaboote + ]; + options.modules.secure-boot = { enable = lib.mkEnableOption "Secure boot with lanzaboote"; }; |