ovmf: enable IPv6 by default

> At its meeting on 21 April 2023, the RIPE NCC Executive Board resolved to suspend the ability of RIPE NCC members to submit new applications to the IPv4 waiting list until further notice.

It's time enough to start using IPv6 everywhere, including UEFI.
This commit is contained in:
Raito Bezarius 2023-04-26 18:30:32 +02:00
parent 1d5ff2163e
commit 9e7091bc65

View file

@ -41,7 +41,9 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ];
buildFlags =
lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ]
# IPv6 has no reason to be disabled.
[ "-D NETWORK_IP6_ENABLE=TRUE" ]
++ lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ]
++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ]
++ lib.optionals httpSupport [ "-D NETWORK_HTTP_ENABLE=TRUE" "-D NETWORK_HTTP_BOOT_ENABLE=TRUE" ]
++ lib.optionals tpmSupport [ "-D TPM_ENABLE" "-D TPM2_ENABLE" "-D TPM2_CONFIG_ENABLE"];