nixos/tests/common/acme: don't set nameservers for client

The resolver is mainly useful for the ACME server, and acme.nix uses its
own DNS server to test DNS-01 challenges.
This commit is contained in:
Emily 2020-03-23 16:23:53 +00:00
parent e6d5e83cf1
commit 21f183a3fe
2 changed files with 2 additions and 6 deletions

View File

@ -5,10 +5,6 @@ let
in in
{ {
networking.nameservers = [
nodes.acme.config.networking.primaryIPAddress
];
security.acme = { security.acme = {
server = "https://acme.test/dir"; server = "https://acme.test/dir";
email = "hostmaster@example.test"; email = "hostmaster@example.test";

View File

@ -33,9 +33,9 @@
# override networking.nameservers like this: # override networking.nameservers like this:
# #
# { # {
# acme = { nodes, ... }: { # acme = { nodes, lib, ... }: {
# imports = [ ./common/acme/server ]; # imports = [ ./common/acme/server ];
# networking.nameservers = [ # networking.nameservers = lib.mkForce [
# nodes.myresolver.config.networking.primaryIPAddress # nodes.myresolver.config.networking.primaryIPAddress
# ]; # ];
# }; # };