From d8659f24e62a3867f5fce630e978a907c6cf9856 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Tue, 27 Dec 2016 19:20:23 +0100 Subject: [PATCH] dnscrypt-proxy service: order before nss-lookup.target --- nixos/modules/services/networking/dnscrypt-proxy.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix index 82bf178f4cb..462039803f8 100644 --- a/nixos/modules/services/networking/dnscrypt-proxy.nix +++ b/nixos/modules/services/networking/dnscrypt-proxy.nix @@ -263,6 +263,8 @@ in systemd.services.dnscrypt-proxy = { description = "dnscrypt-proxy daemon"; + before = [ "nss-lookup.target" ]; + after = [ "network.target" ] ++ optional apparmorEnabled "apparmor.service" ++ optional useUpstreamResolverList "init-dnscrypt-proxy-statedir.service";