Tom Hubrecht
23056a02c3
All checks were successful
Check meta / check_meta (push) Successful in 25s
Check meta / check_dns (push) Successful in 46s
build configuration / build_vault01 (push) Successful in 1m8s
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_compute01 (push) Successful in 1m16s
build configuration / build_web02 (push) Successful in 56s
lint / check (push) Successful in 22s
build configuration / build_rescue01 (push) Successful in 52s
build configuration / build_web01 (push) Successful in 1m38s
22 lines
537 B
Nix
22 lines
537 B
Nix
# Nix expression to check if meta module is evaluating correctly.
|
|
# To do so run `nix-build ./verify.nix`
|
|
let
|
|
sources = import ../npins;
|
|
pkgs = import sources.nixpkgs { };
|
|
|
|
dns = import sources."dns.nix";
|
|
|
|
lib = import sources.nix-lib {
|
|
inherit (pkgs) lib;
|
|
|
|
keysRoot = ../keys;
|
|
};
|
|
in
|
|
|
|
{
|
|
meta = pkgs.writers.writeJSON "meta.json" ((import ./.) pkgs.lib);
|
|
|
|
dns = dns.util.${builtins.currentSystem}.writeZone "dgnum.eu" (
|
|
pkgs.lib.recursiveUpdate { SOA.serial = 0; } (import ./dns.nix { inherit dns lib; })
|
|
);
|
|
}
|