Tom Hubrecht
e9c6f0a2b6
All checks were successful
Check meta / check_meta (push) Successful in 26s
Check meta / check_dns (push) Successful in 50s
build configuration / build_vault01 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_compute01 (push) Successful in 1m17s
build configuration / build_web02 (push) Successful in 55s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m34s
build configuration / build_rescue01 (push) Successful in 50s
22 lines
523 B
Nix
22 lines
523 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 = builtins.deepSeq ((import ./.) pkgs.lib) { };
|
|
|
|
dns = dns.util.${builtins.currentSystem}.writeZone "dgnum.eu" (
|
|
pkgs.lib.recursiveUpdate { SOA.serial = 0; } (import ./dns.nix { inherit dns lib; })
|
|
);
|
|
}
|