fix(dns): Only generate infra records for nixos machines
Some checks failed
Check meta / check_dns (push) Successful in 19s
Check meta / check_meta (push) Successful in 18s
Build all the nodes / bridge01 (push) Successful in 1m43s
Build all the nodes / geo01 (push) Successful in 1m43s
Build all the nodes / geo02 (push) Successful in 1m42s
Build all the nodes / storage01 (push) Successful in 2m0s
Build all the nodes / compute01 (push) Successful in 2m11s
Build all the nodes / rescue01 (push) Successful in 2m6s
Run pre-commit on all files / check (push) Successful in 27s
Build all the nodes / web02 (push) Successful in 1m33s
Build all the nodes / vault01 (push) Successful in 1m38s
Build all the nodes / web01 (push) Successful in 2m10s
Build all the nodes / web03 (push) Failing after 13m42s
Some checks failed
Check meta / check_dns (push) Successful in 19s
Check meta / check_meta (push) Successful in 18s
Build all the nodes / bridge01 (push) Successful in 1m43s
Build all the nodes / geo01 (push) Successful in 1m43s
Build all the nodes / geo02 (push) Successful in 1m42s
Build all the nodes / storage01 (push) Successful in 2m0s
Build all the nodes / compute01 (push) Successful in 2m11s
Build all the nodes / rescue01 (push) Successful in 2m6s
Run pre-commit on all files / check (push) Successful in 27s
Build all the nodes / web02 (push) Successful in 1m33s
Build all the nodes / vault01 (push) Successful in 1m38s
Build all the nodes / web01 (push) Successful in 2m10s
Build all the nodes / web03 (push) Failing after 13m42s
This commit is contained in:
parent
4fa4d0bc21
commit
e1586b4873
1 changed files with 8 additions and 2 deletions
10
meta/dns.nix
10
meta/dns.nix
|
@ -1,7 +1,13 @@
|
|||
{ lib, dns, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mapAttrs' nameValuePair optional;
|
||||
inherit (lib)
|
||||
filterAttrs
|
||||
mapAttrs'
|
||||
nameValuePair
|
||||
optional
|
||||
;
|
||||
|
||||
inherit (lib.extra) fuseAttrs mapSingleFuse;
|
||||
|
||||
inherit (dns.lib.combinators) mx spf ttl;
|
||||
|
@ -230,7 +236,7 @@ in
|
|||
private.A = optional (net.netbirdIp != null) net.netbirdIp;
|
||||
};
|
||||
}
|
||||
) meta.nodes;
|
||||
) (filterAttrs (_: { nixpkgs, ... }: nixpkgs.system == "nixos") meta.nodes);
|
||||
};
|
||||
}
|
||||
// {
|
||||
|
|
Loading…
Reference in a new issue