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 | |
parent | e6d5e83cf10f8d6d900c53f8b29399e3619434c7 (diff) | |
download | nixpkgs-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')
-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 22ba6f4df19..80893da0252 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 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 # ]; # }; |