Run pihole after unbound started

This commit is contained in:
Andreas Zweili 2022-11-12 16:58:30 +01:00
parent 03f891b4f5
commit 1551f5f630
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,7 @@
{ custom }: { config, ... }:
let
service-name = "${config.virtualisation.oci-containers.backend}-pihole";
in
{
networking = {
firewall.allowedTCPPorts = [
@ -34,4 +37,5 @@
];
};
};
systemd.services.${service-name}.after = [ "unbound.service" ];
}