forked from DGNum/lab-infra
fix(dns01): Use the meta provided by the module system
This commit is contained in:
parent
1f28d0ccbf
commit
138ea89bbc
2 changed files with 15 additions and 4 deletions
|
@ -1,8 +1,12 @@
|
|||
{ dns, lib, ... }:
|
||||
{
|
||||
meta,
|
||||
dns,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) mapAttrs' nameValuePair;
|
||||
meta = (import ./../../meta) lib;
|
||||
in
|
||||
with dns.lib.combinators;
|
||||
{
|
||||
|
@ -29,6 +33,8 @@ with dns.lib.combinators;
|
|||
|
||||
status = host "129.199.146.103" null;
|
||||
|
||||
kfet = host "129.199.146.230" "2a0e:e701:1120:1000::f:1";
|
||||
|
||||
# Nameservers
|
||||
ns01 = host "45.13.104.26" "2a0e:e701:1120:1000:ffff::45.13.104.26";
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ sources, lib, ... }:
|
||||
{
|
||||
sources,
|
||||
lib,
|
||||
meta,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
dns = import sources.dns-nix { };
|
||||
|
@ -12,7 +17,7 @@ in
|
|||
"lab.dgnum.eu" = {
|
||||
# provideXFR = [ ... ];
|
||||
# notify = [ ... ];
|
||||
data = dns.lib.toString "lab.dgnum.eu" (import ./lab.dgnum.eu.nix { inherit dns lib; });
|
||||
data = dns.lib.toString "lab.dgnum.eu" (import ./lab.dgnum.eu.nix { inherit meta dns lib; });
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue