diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-22 21:34:56 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-22 21:35:32 +0200 |
commit | 4fecaae82e6de19f9f1b5a5a5c9984e911d75bf1 (patch) | |
tree | fe59f1550d1f4798152c62346352ab02adbf8768 /tests/common/dns/client.nix | |
parent | tests/email-dns: Factor out all of the secrets/acme stuff into a common dir (diff) | |
download | nixos-server-4fecaae82e6de19f9f1b5a5a5c9984e911d75bf1.zip |
tests/{common,email-dns}: Move last part of acme and dns handling to common
This makes re-using it even easier.
Diffstat (limited to 'tests/common/dns/client.nix')
-rw-r--r-- | tests/common/dns/client.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/common/dns/client.nix b/tests/common/dns/client.nix new file mode 100644 index 0000000..52f3267 --- /dev/null +++ b/tests/common/dns/client.nix @@ -0,0 +1,10 @@ +{ + lib, + nodes, + ... +}: { + networking.nameservers = lib.mkForce [ + nodes.name_server.networking.primaryIPAddress + nodes.name_server.networking.primaryIPv6Address + ]; +} |