From 784b688dd92ae303dadee69e2063cfb7c4a29d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= Date: Tue, 28 Apr 2020 22:43:13 +0200 Subject: [PATCH] docs: add example --- modules/services/dnsmasq.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/dnsmasq.nix b/modules/services/dnsmasq.nix index b7676f27..9a8cf11a 100644 --- a/modules/services/dnsmasq.nix +++ b/modules/services/dnsmasq.nix @@ -37,7 +37,10 @@ in services.dnsmasq.addresses = mkOption { type = types.attrs; default = {}; - description = "List of domains that will be redirected by the DNSmasq"; + description = "List of domains that will be redirected by the DNSmasq."; + example = literalExample '' + { localhost = "127.0.0.1"; } + ''; }; };