Run pihole after unbound started
This commit is contained in:
parent
03f891b4f5
commit
1551f5f630
|
@ -1,4 +1,7 @@
|
||||||
{ custom }: { config, ... }:
|
{ custom }: { config, ... }:
|
||||||
|
let
|
||||||
|
service-name = "${config.virtualisation.oci-containers.backend}-pihole";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowedTCPPorts = [
|
firewall.allowedTCPPorts = [
|
||||||
|
@ -34,4 +37,5 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.${service-name}.after = [ "unbound.service" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue