avahi-daemon service: add cacheEntriesMax option
This commit is contained in:
parent
32e7904624
commit
3b472d78a8
@ -22,6 +22,7 @@ let
|
|||||||
${optionalString (interfaces!=null) "allow-interfaces=${concatStringsSep "," interfaces}"}
|
${optionalString (interfaces!=null) "allow-interfaces=${concatStringsSep "," interfaces}"}
|
||||||
${optionalString (domainName!=null) "domain-name=${domainName}"}
|
${optionalString (domainName!=null) "domain-name=${domainName}"}
|
||||||
allow-point-to-point=${yesNo allowPointToPoint}
|
allow-point-to-point=${yesNo allowPointToPoint}
|
||||||
|
${optionalString (cacheEntriesMax!=null) "cache-entries-max=${toString cacheEntriesMax}"}
|
||||||
|
|
||||||
[wide-area]
|
[wide-area]
|
||||||
enable-wide-area=${yesNo wideArea}
|
enable-wide-area=${yesNo wideArea}
|
||||||
@ -166,6 +167,15 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cacheEntriesMax = mkOption {
|
||||||
|
default = null;
|
||||||
|
type = types.nullOr types.int;
|
||||||
|
description = ''
|
||||||
|
Number of resource records to be cached per interface. Use 0 to
|
||||||
|
disable caching. Avahi daemon defaults to 4096 if not set.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user