From 73e558e02bc8d4b65e08747c63f38045867fad47 Mon Sep 17 00:00:00 2001 From: Constantin Gierczak--Galle Date: Fri, 22 Nov 2024 15:28:27 +0100 Subject: [PATCH] fix(dns01): dns-nix source declaration --- machines/dns01/nsd.nix | 4 +++- npins/sources.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/machines/dns01/nsd.nix b/machines/dns01/nsd.nix index a4a5d67..5e94b26 100644 --- a/machines/dns01/nsd.nix +++ b/machines/dns01/nsd.nix @@ -1,5 +1,7 @@ -{ dns, ... }: +{ sources, ... }: +let dns = import sources.dns-nix {}; +in { services.nsd = { enable = true; diff --git a/npins/sources.json b/npins/sources.json index ee53f15..c8c103b 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -30,7 +30,7 @@ "url": "https://api.github.com/repos/nix-community/disko/tarball/v1.8.0", "hash": "06ifryv6rw25cz8zda4isczajdgrvcl3aqr145p8njxx5jya2d77" }, - "dns.nix": { + "dns-nix": { "type": "GitRelease", "repository": { "type": "GitHub", @@ -200,4 +200,4 @@ } }, "version": 3 -} \ No newline at end of file +}