diff options
author | Félix Baylac-Jacqué <felix@alternativebit.fr> | 2019-10-26 00:45:19 +0200 |
---|---|---|
committer | Félix Baylac-Jacqué <felix@alternativebit.fr> | 2019-10-30 11:09:40 +0100 |
commit | 781f0cf2ec3d18afa7e9f276ea87da4017934fee (patch) | |
tree | ed36624255189173dcee6063e215a42b71f5c859 /nixos/tests/acme.nix | |
parent | 5671fa2396886c038ed0c28af9797e8b16786783 (diff) | |
download | nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar.gz nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar.bz2 nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar.lz nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar.xz nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.tar.zst nixpkgs-781f0cf2ec3d18afa7e9f276ea87da4017934fee.zip |
nixos/tests/acme.nix: remove pebble custom endpoint patch
The recent custom endpoint addition allows us to directly point certbot to the custom Pebble directory endpoint. Thanks to that, we can ditch the Pebble patch we were using so far; making this test maintenance easier.
Diffstat (limited to 'nixos/tests/acme.nix')
-rw-r--r-- | nixos/tests/acme.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix index 85d32d10944..206d97849f0 100644 --- a/nixos/tests/acme.nix +++ b/nixos/tests/acme.nix @@ -12,8 +12,11 @@ in import ./make-test.nix { networking.extraHosts = '' ${config.networking.primaryIPAddress} standalone.com ''; - security.acme.certs."standalone.com" = { - webroot = "/var/lib/acme/acme-challenges"; + security.acme = { + server = "https://acme-v02.api.letsencrypt.org/dir"; + certs."standalone.com" = { + webroot = "/var/lib/acme/acme-challenges"; + }; }; systemd.targets."acme-finished-standalone.com" = {}; systemd.services."acme-standalone.com" = { @@ -54,6 +57,8 @@ in import ./make-test.nix { ''; }; + security.acme.server = "https://acme-v02.api.letsencrypt.org/dir"; + nesting.clone = [ ({pkgs, ...}: { |