diff options
author | Emily <vcs@emily.moe> | 2020-03-23 16:23:53 +0000 |
---|---|---|
committer | Emily <vcs@emily.moe> | 2020-04-18 05:15:47 +0100 |
commit | 21f183a3fe4eddbbb418cc1ee37a9f86526f675a (patch) | |
tree | 122a45ab96baae7265bd354d984ee40bee87636c /nixos/tests | |
parent | e6d5e83cf10f8d6d900c53f8b29399e3619434c7 (diff) | |
download | nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.gz nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.bz2 nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.lz nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.xz nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.zst nixlib-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.zip |
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.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/common/acme/client/default.nix | 4 | ||||
-rw-r--r-- | nixos/tests/common/acme/server/default.nix | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/nixos/tests/common/acme/client/default.nix b/nixos/tests/common/acme/client/default.nix index 22ba6f4df194..80893da02524 100644 --- a/nixos/tests/common/acme/client/default.nix +++ b/nixos/tests/common/acme/client/default.nix @@ -5,10 +5,6 @@ let in { - networking.nameservers = [ - nodes.acme.config.networking.primaryIPAddress - ]; - security.acme = { server = "https://acme.test/dir"; email = "hostmaster@example.test"; diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix index 36c1a477392c..1a0ee882572c 100644 --- a/nixos/tests/common/acme/server/default.nix +++ b/nixos/tests/common/acme/server/default.nix @@ -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 # ]; # }; |