From db61b9e84dad7cc234f489c13f0491a12625613e Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 8 Mar 2026 21:10:11 -0600 Subject: sys/boot/pxe: initial support --- sys/boot/tpm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/boot/tpm.nix') diff --git a/sys/boot/tpm.nix b/sys/boot/tpm.nix index ecc115b..da6f73a 100644 --- a/sys/boot/tpm.nix +++ b/sys/boot/tpm.nix @@ -93,8 +93,8 @@ in { config = mkIf cfg.enable { assertions = [ { - assertion = config.local.boot.efi.enable; - message = "TPM2 requires EFI"; + assertion = cfg.initrd.enable -> config.local.boot.efi.enable; + message = "TPM2 in initrd requires EFI"; } { assertion = cfg.initrd.enable -> cfg.enable; -- cgit v1.2.3