diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-03-08 21:10:11 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-03-08 21:10:11 -0600 |
| commit | db61b9e84dad7cc234f489c13f0491a12625613e (patch) | |
| tree | 523e36bfa44d91b9b3c89649b70294337d2dceb0 /sys/boot/tpm.nix | |
| parent | 8ce8eed4869436819b5cad84750e486572033dae (diff) | |
sys/boot/pxe: initial support
Diffstat (limited to '')
| -rw-r--r-- | sys/boot/tpm.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
