diff --git a/nix/modules/lanzaboote.nix b/nix/modules/lanzaboote.nix index d55e825..ac586c6 100644 --- a/nix/modules/lanzaboote.nix +++ b/nix/modules/lanzaboote.nix @@ -104,7 +104,7 @@ in ''} ${cfg.package}/bin/lzbt install \ - --system ${config.nixpkgs.hostPlatform.system} \ + --system ${config.nixpkgs.hostPlatform.system or config.boot.kernelPackages.stdenv.hostPlatform.system} \ --systemd ${config.systemd.package} \ --systemd-boot-loader-config ${loaderConfigFile} \ --public-key ${cfg.publicKeyFile} \