diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-11 17:15:56 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-11 17:16:44 +0200 |
commit | 13185280fee4111dc07f794e528fa3a73f421f3a (patch) | |
tree | 40f813ae0cf436e9bbe3a8364b046c6f93ffc2fc /nixos/modules/services/networking/avahi-daemon.nix | |
parent | 017408e048ae2419baf0adba424b51d85b063a30 (diff) |
Fix tests broken due to the firewall being enabled by default
Diffstat (limited to 'nixos/modules/services/networking/avahi-daemon.nix')
-rw-r--r-- | nixos/modules/services/networking/avahi-daemon.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 2256de89630d..d7dfca2c8dc9 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -142,6 +142,10 @@ in services.dbus.enable = true; services.dbus.packages = [avahi]; + # Enabling Avahi without exposing it in the firewall doesn't make + # sense. + networking.firewall.allowedUDPPorts = [ 5353 ]; + }; } |