ma lancache-dns: fix local-ip variable

This commit is contained in:
makefu 2017-11-03 14:46:31 +01:00
parent 8574f0f177
commit a98010b11c
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -24,9 +24,9 @@ let
local_ip = "192.168.1.10"; local_ip = "192.168.1.10";
extra-config = pkgs.writeText "local.conf" '' extra-config = pkgs.writeText "local.conf" ''
server: server:
local-data: "piratebox. A ${local-ip}" local-data: "piratebox. A ${local_ip}"
local-data: "store. A ${local-ip}" local-data: "store. A ${local_ip}"
local-data: "share. A ${local-ip}" local-data: "share. A ${local_ip}"
''; '';
in { in {
services.unbound = { services.unbound = {