From 5aae70ea896573f40d85f6da262b6929023338bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Christ?= Date: Mon, 2 Dec 2024 09:29:24 +0100 Subject: [PATCH] modules/avahi: Enable IPv6 by default Avahi's default for `use-ipv6` is yes as well. I see no reason why we should do this differently. --- nixos/doc/manual/release-notes/rl-2505.section.md | 2 ++ nixos/modules/services/networking/avahi-daemon.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 39849d5d64c24f..2d6c8a87b8399d 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -77,6 +77,8 @@ - Cinnamon has been updated to 6.4. +- `services.avahi.ipv6` now defaults to true. + - `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries. diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 73fc210728d888..47b707f213f0cb 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -91,7 +91,7 @@ in ipv6 = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = "Whether to use IPv6."; };