nixos/acme: remove unused binding in tests

This commit is contained in:
ThinkChaos 2024-11-07 20:18:08 -05:00
parent 1bd7f1374d
commit b432e86caf
No known key found for this signature in database

View File

@ -54,11 +54,6 @@ let
testCerts = import ./snakeoil-certs.nix; testCerts = import ./snakeoil-certs.nix;
domain = testCerts.domain; domain = testCerts.domain;
resolver = let
message = "You need to define a resolver for the acme test module.";
firstNS = lib.head config.networking.nameservers;
in if config.networking.nameservers == [] then throw message else firstNS;
pebbleConf.pebble = { pebbleConf.pebble = {
listenAddress = "0.0.0.0:443"; listenAddress = "0.0.0.0:443";
managementListenAddress = "0.0.0.0:15000"; managementListenAddress = "0.0.0.0:15000";