From 39774a69749c35749e58318191e28e5557ae23a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 8 Dec 2022 21:23:35 +0100 Subject: [PATCH] fix lanzaboote module import --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 79d0c45..9d38251 100644 --- a/flake.nix +++ b/flake.nix @@ -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;