fix lanzaboote module import

This commit is contained in:
Jörg Thalheim 2022-12-08 21:23:35 +01:00
parent a4ddbada50
commit 39774a6974
1 changed files with 4 additions and 1 deletions

View File

@ -103,7 +103,10 @@
inherit lanzatool;
};
nixosModules.lanzaboote = import ./nix/lanzaboote.nix;
nixosModules.lanzaboote = { pkgs, lib, ... }: {
imports = [ ./nix/lanzaboote.nix ];
boot.lanzaboote.package = lib.mkDefault self.packages.${pkgs.system}.lanzaboote;
};
packages.x86_64-linux = {
inherit initrd-stub lanzaboote lanzatool;