nixbld: work around nixos bug with acme and local dns resolver

https://github.com/NixOS/nixpkgs/issues/106862
This commit is contained in:
Sebastien Bourdeauducq 2020-12-21 13:04:24 +08:00
parent 6379ae6886
commit 1fa9caf1b8
1 changed files with 3 additions and 0 deletions

View File

@ -445,6 +445,9 @@ in
]; ];
}; };
}; };
# https://github.com/NixOS/nixpkgs/issues/106862
systemd.services."acme-fixperms".wants = [ "unbound.service" "dnsmasq.service" ];
systemd.services."acme-fixperms".after = [ "unbound.service" "dnsmasq.service" ];
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedProxySettings = true; recommendedProxySettings = true;