summary refs log tree commit diff
path: root/nixos/tests/common/acme/server/default.nix
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2020-03-23 16:23:53 +0000
committerEmily <vcs@emily.moe>2020-04-18 05:15:47 +0100
commit21f183a3fe4eddbbb418cc1ee37a9f86526f675a (patch)
tree122a45ab96baae7265bd354d984ee40bee87636c /nixos/tests/common/acme/server/default.nix
parente6d5e83cf10f8d6d900c53f8b29399e3619434c7 (diff)
downloadnixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar
nixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.gz
nixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.bz2
nixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.lz
nixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.xz
nixpkgs-21f183a3fe4eddbbb418cc1ee37a9f86526f675a.tar.zst
nixpkgs-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/common/acme/server/default.nix')
-rw-r--r--nixos/tests/common/acme/server/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix
index 36c1a477392..1a0ee882572 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
 #     ];
 #   };