diff options
author | Jani <ljani@users.noreply.github.com> | 2018-07-28 12:48:08 +0300 |
---|---|---|
committer | Jani <ljani@users.noreply.github.com> | 2018-07-28 12:48:08 +0300 |
commit | d17770d0d543e64475bcdf5611ac0dc221b14158 (patch) | |
tree | a9829cb50c626634411d3e494d1da5ac44e7f417 /nixos/modules/services/networking/avahi-daemon.nix | |
parent | 010ebe1276e48751070e6447e56f200338a4a994 (diff) |
nixos/avahi: add support for extraConfig
Diffstat (limited to 'nixos/modules/services/networking/avahi-daemon.nix')
-rw-r--r-- | nixos/modules/services/networking/avahi-daemon.nix | 9 |
1 files changed, 9 insertions, 0 deletions
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. + ''; + }; + }; }; |