diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-27 19:20:23 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-30 20:27:05 +0100 |
commit | d8659f24e62a3867f5fce630e978a907c6cf9856 (patch) | |
tree | 14f49d1ab44361776f462d1e05dcdec88bbfed7b /nixos/modules/services/networking/dnscrypt-proxy.nix | |
parent | 3dbf6b4a093fc42a2da85fe08daac69973125fae (diff) |
dnscrypt-proxy service: order before nss-lookup.target
Diffstat (limited to 'nixos/modules/services/networking/dnscrypt-proxy.nix')
-rw-r--r-- | nixos/modules/services/networking/dnscrypt-proxy.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix index 82bf178f4cb7..462039803f80 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"; |