avahi service: add reflector option
This commit is contained in:
parent
afcf15bc80
commit
e74ea4282a
|
@ -33,6 +33,9 @@ let
|
||||||
publish-hinfo=${yesNo publish.hinfo}
|
publish-hinfo=${yesNo publish.hinfo}
|
||||||
publish-workstation=${yesNo publish.workstation}
|
publish-workstation=${yesNo publish.workstation}
|
||||||
publish-domain=${yesNo publish.domain}
|
publish-domain=${yesNo publish.domain}
|
||||||
|
|
||||||
|
[reflector]
|
||||||
|
enable-reflector=${yesNo reflector}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -113,6 +116,11 @@ in
|
||||||
description = ''Whether to enable wide-area service discovery.'';
|
description = ''Whether to enable wide-area service discovery.'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reflector = mkOption {
|
||||||
|
default = false;
|
||||||
|
description = ''Reflect incoming mDNS requests to all allowed network interfaces.'';
|
||||||
|
};
|
||||||
|
|
||||||
publish = {
|
publish = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
|
|
Loading…
Reference in New Issue