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:
parent
e6d5e83cf1
commit
21f183a3fe
@ -5,10 +5,6 @@ let
|
||||
in
|
||||
|
||||
{
|
||||
networking.nameservers = [
|
||||
nodes.acme.config.networking.primaryIPAddress
|
||||
];
|
||||
|
||||
security.acme = {
|
||||
server = "https://acme.test/dir";
|
||||
email = "hostmaster@example.test";
|
||||
|
@ -33,9 +33,9 @@
|
||||
# override networking.nameservers like this:
|
||||
#
|
||||
# {
|
||||
# acme = { nodes, ... }: {
|
||||
# acme = { nodes, lib, ... }: {
|
||||
# imports = [ ./common/acme/server ];
|
||||
# networking.nameservers = [
|
||||
# networking.nameservers = lib.mkForce [
|
||||
# nodes.myresolver.config.networking.primaryIPAddress
|
||||
# ];
|
||||
# };
|
||||
|
Loading…
Reference in New Issue
Block a user