1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

docs: add example

This commit is contained in:
Łukasz Niemier 2020-04-28 22:43:13 +02:00
parent 43b7a6901b
commit 784b688dd9
No known key found for this signature in database
GPG key ID: C775391C950A6AEE

View file

@ -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"; }
'';
};
};