Skip to content

Commit

Permalink
modules/avahi: Sync module defaults with upstream
Browse files Browse the repository at this point in the history
This contribution syncs the module's default with upstream
avahi's defaults.
  • Loading branch information
frederictobiasc committed Jan 13, 2025
1 parent 84c7757 commit 25a5efb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <plugin>` 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)
Expand Down
10 changes: 5 additions & 5 deletions nixos/modules/services/networking/avahi-daemon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
};

Expand All @@ -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`
Expand Down

0 comments on commit 25a5efb

Please sign in to comment.