@@ -206,6 +206,12 @@ let
206 ${cfg.httpConfig}
206 ${cfg.httpConfig}
209+ ${optionalString (cfg.streamConfig != "") ''
209 ${cfg.appendConfig}
215 ${cfg.appendConfig}
@@ -483,6 +489,21 @@ in
492+ streamConfig = mkOption {
497+ listen 127.0.0.1:53 udp reuseport;
499+ proxy_pass 192.168.0.1:53535;
503+ Configuration lines to be set inside the stream block.
486 eventsConfig = mkOption {
507 eventsConfig = mkOption {
487 type = types.lines;
508 type = types.lines;
488 default = "";
509 default = "";