From 1872b092ecd4639f928070e5ec8e3e0a43e1e251 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 27 May 2022 01:02:42 +0200 Subject: [PATCH] services/dns: use stevenblack-hosts package --- hosts/VEGAS/services/dns/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/VEGAS/services/dns/default.nix b/hosts/VEGAS/services/dns/default.nix index af1b690..8fbbe3f 100644 --- a/hosts/VEGAS/services/dns/default.nix +++ b/hosts/VEGAS/services/dns/default.nix @@ -1,11 +1,7 @@ -{ config, hosts, ... }: +{ config, hosts, inputs, pkgs, ... }: # 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 ]; @@ -19,7 +15,7 @@ in { config = '' . { bind ${interfaces.vstub.addr} - hosts ${stevenBlack} { + hosts ${inputs.self.packages.${pkgs.system}.stevenblack-hosts} { fallthrough } chaos "Private Void DNS" info@privatevoid.net