Fix syntax errors
This commit is contained in:
parent
87792bd9af
commit
69269c05a8
4 changed files with 13 additions and 10 deletions
|
@ -25,7 +25,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
lanLocalDnsPort = mkOption {
|
||||
localDnsPort = mkOption {
|
||||
type = types.addCheck types.int (n: n >= 0 && n <= 65535);
|
||||
example = "router";
|
||||
default = 5553;
|
||||
|
@ -42,7 +42,7 @@ in {
|
|||
# Listen on this specific port instead of the standard DNS port
|
||||
# (53). Setting this to zero completely disables DNS function,
|
||||
# leaving only DHCP and/or TFTP.
|
||||
port=${cfg.localDnsPort}
|
||||
port=${toString cfg.localDnsPort}
|
||||
|
||||
# The following two options make you a better netizen, since they
|
||||
# tell dnsmasq to filter out queries which the public DNS cannot
|
||||
|
@ -100,7 +100,7 @@ in {
|
|||
# The example below send any host in double-click.net to a local
|
||||
# web-server.
|
||||
#address=/double-click.net/127.0.0.1
|
||||
address=/${cfg.routerHostName}.${cfg.localDomain}/${routerCfg.internalRouterIP}
|
||||
address=/${config.networking.hostName}.${cfg.localDomain}/${routerCfg.internalRouterIP}
|
||||
|
||||
# --address (and --server) work with IPv6 addresses too.
|
||||
#address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue