diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-04-18 15:10:24 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-04-24 21:06:42 +0200 |
commit | e74ea4282a7922fd73655de863315854d322ea8d (patch) | |
tree | d9d499614925c78a153070a940fc81b18dd3fc59 /nixos/modules/services/networking/avahi-daemon.nix | |
parent | afcf15bc8007a40cae4d17973889581043a7f11d (diff) |
avahi service: add reflector option
Diffstat (limited to 'nixos/modules/services/networking/avahi-daemon.nix')
-rw-r--r-- | nixos/modules/services/networking/avahi-daemon.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 3985f8561d35..f4d0fc822dea 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -33,6 +33,9 @@ let publish-hinfo=${yesNo publish.hinfo} publish-workstation=${yesNo publish.workstation} publish-domain=${yesNo publish.domain} + + [reflector] + enable-reflector=${yesNo reflector} ''; in @@ -113,6 +116,11 @@ in description = ''Whether to enable wide-area service discovery.''; }; + reflector = mkOption { + default = false; + description = ''Reflect incoming mDNS requests to all allowed network interfaces.''; + }; + publish = { enable = mkOption { default = false; |