diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-14 23:34:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 23:34:12 +0100 |
commit | b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3 (patch) | |
tree | 587d4f2b24508847655b100bfbf2e909ca42ae93 | |
parent | 410ae09cc3e50be539ac6cf1cdf5fe1fcf028266 (diff) | |
parent | 3836639c13c483ec85fedd292d5363401be7266f (diff) | |
download | nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar.gz nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar.bz2 nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar.lz nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar.xz nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.tar.zst nixlib-b5f35b1c859db8dd86c1b7b90f1d9c533528dfc3.zip |
Merge pull request #205399 from SuperSandro2000/fix-avahi
4 files changed, 5 insertions, 16 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml index 17fb70531054..b73aa325bbf7 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml @@ -98,16 +98,6 @@ <listitem> <para> The - <link linkend="opt-services.avahi.openFirewall">services.avahi.openFirewall</link> - module option default value has been changed from - <literal>true</literal> to <literal>false</literal>. You will - need to explicitely set this option to - <literal>true</literal>, or configure your firewall. - </para> - </listitem> - <listitem> - <para> - The <link linkend="opt-services.tmate-ssh-server.openFirewall">services.tmate-ssh-server.openFirewall</link> module option default value has been changed from <literal>true</literal> to <literal>false</literal>. You will diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index b7f90ec01ef5..84216758bad5 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -33,8 +33,6 @@ In addition to numerous new and upgraded packages, this release has the followin - The [services.snapserver.openFirewall](#opt-services.snapserver.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. -- The [services.avahi.openFirewall](#opt-services.avahi.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. - - The [services.tmate-ssh-server.openFirewall](#opt-services.tmate-ssh-server.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. - The [services.unifi-video.openFirewall](#opt-services.unifi-video.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall. diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 0875d8a85140..3933ed5a2315 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -103,16 +103,17 @@ in openFirewall = mkOption { type = types.bool; - default = false; + default = true; description = lib.mdDoc '' Whether to open the firewall for UDP port 5353. + Disabling this setting also disables discovering of network devices. ''; }; allowPointToPoint = mkOption { type = types.bool; default = false; - description= lib.mdDoc '' + description = lib.mdDoc '' Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large latencies with such links and opens a potential security hole by allowing mDNS access from Internet connections. diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix index fe9ce9a42dcb..d57b6a75cbaa 100644 --- a/pkgs/development/libraries/avahi/default.nix +++ b/pkgs/development/libraries/avahi/default.nix @@ -13,8 +13,8 @@ , libevent , nixosTests , gtk3Support ? false -, gtk3 ? null -, qt5 ? null +, gtk3 +, qt5 , qt5Support ? false , withLibdnssdCompat ? false , python ? null |