From f3580748c554e2d4b1b28a45a51e70e359f940df Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 1 Dec 2021 22:25:41 +0100 Subject: [PATCH] VEGAS/coredns: download StevenBlack hosts inline --- hosts/VEGAS/services/dns/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/VEGAS/services/dns/default.nix b/hosts/VEGAS/services/dns/default.nix index 0ea9335..af1b690 100644 --- a/hosts/VEGAS/services/dns/default.nix +++ b/hosts/VEGAS/services/dns/default.nix @@ -2,6 +2,10 @@ # TODO: is this secure? let inherit (hosts.${config.networking.hostName}) interfaces; + stevenBlack = builtins.fetchurl { + url = "https://raw.githubusercontent.com/StevenBlack/hosts/9ac56f6b39644cb9a30451cf5195a80714eba3c2/hosts"; + sha256 = "sha256-1QdfL/D9yfgZva25ybx4r1loYEzqtxIuGaGrwYZHJxE="; + }; in { imports = [ ./zones.nix ]; @@ -15,7 +19,7 @@ in { config = '' . { bind ${interfaces.vstub.addr} - hosts /ipfs/QmRgDmvcHsB61pYEPDrwsvHwkoC6hCR9dTEnvkDHrypcFJ { + hosts ${stevenBlack} { fallthrough } chaos "Private Void DNS" info@privatevoid.net