nixos/avahi: add support for extraConfig

This commit is contained in:
Jani 2018-07-28 12:48:08 +03:00
parent 010ebe1276
commit d17770d0d5

View File

@ -37,6 +37,7 @@ let
[reflector] [reflector]
enable-reflector=${yesNo reflector} enable-reflector=${yesNo reflector}
${extraConfig}
''; '';
in in
@ -176,6 +177,14 @@ in
''; '';
}; };
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
Extra config to append to avahi-daemon.conf.
'';
};
}; };
}; };