mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 07:56:34 +01:00
15 lines
415 B
Nix
15 lines
415 B
Nix
{ stdenv, lib, dns }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "opennic-dns-root-data";
|
|
|
|
buildCommand = ''
|
|
mkdir $out
|
|
echo "${dns.lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/geek.zone
|
|
echo "${dns.lib.toString "example.com" (import ./geek.nix { inherit dns; })}" > $out/glue.zone
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "DNS root data including root zone for openic";
|
|
};
|
|
}
|