summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/services/dnsmasq.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/services/dnsmasq.nix b/modules/services/dnsmasq.nix
index b7676f2..9a8cf11 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"; }
+ '';
};
};