nixos/avahi: only enable ipv6 when networking.enableIPv6 is true

This commit is contained in:
Sandro
2025-02-24 17:19:55 +01:00
committed by Bjørn Forsman
parent 5b5bd96701
commit 245441e2a2
@@ -91,7 +91,8 @@ in
ipv6 = lib.mkOption {
type = lib.types.bool;
default = true;
default = config.networking.enableIPv6;
defaultText = lib.literalExpression "config.networking.enableIPv6";
description = "Whether to use IPv6.";
};