From 12c3e679d6e397ae2a71b1df617bf8b89a5b07e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Christ?= Date: Mon, 2 Dec 2024 20:36:33 +0100 Subject: [PATCH] modules/avahi: Sync module defaults with upstream This contribution syncs the module's default with upstream avahi's defaults. --- nixos/doc/manual/release-notes/rl-2505.section.md | 2 ++ nixos/modules/services/networking/avahi-daemon.nix | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 3e711ebc0ce39..04bf973043d43 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -378,6 +378,8 @@ Note that all provided plugins must have versions/tags (string after `@`), even if upstream repo does not tag each release. For untagged plugins, you can either create an empty Go project and run `go get ` and see changes in `go.mod` to get the pseudo-version number, or provide a commit hash in place of version/tag for the first run, and update the plugin string based on the error output. +- The defaults of `services.avahi.publish` have been updated to upstream's default. + - KDE Partition Manager `partitionmanager`'s support for ReiserFS is removed. ReiserFS has not been actively maintained for many years. It has been marked as obsolete since Linux 6.6, and [is removed](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c01f664e4ca210823b7594b50669bbd9b0a3c3b0) diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 47b707f213f0c..2975d82807702 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -175,19 +175,19 @@ in publish = { enable = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = "Whether to allow publishing in general."; }; userServices = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = "Whether to publish user services. Will set `addresses=true`."; }; addresses = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = "Whether to register mDNS address records for all local IP addresses."; }; @@ -210,14 +210,14 @@ in domain = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = "Whether to announce the locally used domain name for browsing by other hosts."; }; }; nssmdns4 = lib.mkOption { type = lib.types.bool; - default = false; + default = true; description = '' Whether to enable the mDNS NSS (Name Service Switch) plug-in for IPv4. Enabling it allows applications to resolve names in the `.local`