From 07e283f2b1e4b137be13af7fd38ad5c357a3f716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Christ?= Date: Wed, 4 Dec 2024 11:06:49 +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 39849d5d64c2..2d6c8a87b839 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 73fc210728d8..47b707f213f0 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."; };