From d17770d0d543e64475bcdf5611ac0dc221b14158 Mon Sep 17 00:00:00 2001 From: Jani Date: Sat, 28 Jul 2018 12:48:08 +0300 Subject: nixos/avahi: add support for extraConfig --- nixos/modules/services/networking/avahi-daemon.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix index 2ec5a10b4818..488d9877b5e0 100644 --- a/nixos/modules/services/networking/avahi-daemon.nix +++ b/nixos/modules/services/networking/avahi-daemon.nix @@ -37,6 +37,7 @@ let [reflector] enable-reflector=${yesNo reflector} + ${extraConfig} ''; in @@ -176,6 +177,14 @@ in ''; }; + extraConfig = mkOption { + default = ""; + type = types.lines; + description = '' + Extra config to append to avahi-daemon.conf. + ''; + }; + }; }; -- cgit 1.4.1