Merge pull request #44061 from ljani/avahi-extraconfig

nixos/avahi: add support for extraConfig
This commit is contained in:
Silvan Mosberger 2018-07-29 20:07:11 +02:00 committed by GitHub
commit c3f00f7c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

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.
'';
};
}; };
}; };