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