Merge pull request #44061 from ljani/avahi-extraconfig
nixos/avahi: add support for extraConfig
This commit is contained in:
commit
c3f00f7c16
|
@ -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.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue