From dbc458d8c094e1dfb0132466d174f3eea3f12220 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 29 May 2024 10:39:20 -0500 Subject: [PATCH] force dns --- nixos/gandalf/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/gandalf/configuration.nix b/nixos/gandalf/configuration.nix index 0b60707..c66213c 100644 --- a/nixos/gandalf/configuration.nix +++ b/nixos/gandalf/configuration.nix @@ -272,7 +272,9 @@ in lego-auto = { image = "ghcr.io/bjw-s/lego-auto:v0.3.0"; autoStart = true; - dns = ["1.1.1.1"]; + extraOptions = [ + "--dns=1.1.1.1" + ]; volumes = [ "/eru/containers/volumes/unifi/cert:/certs" "${config.sops.secrets."lego/dnsimple/token".path}:/config/dnsimple-token"