nixos/avahi: only enable ipv6 when networking.enableIPv6 is true
This commit is contained in:
@@ -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.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user