nix-config/hosts/franz/arion/dns/default.nix
GHOSCHT 108baeae60
Arion: Fix pihole dns for all docker containers
i previously had to fall back to cloudflare dns which didn't have all custom dns entries from pihole
2024-05-03 21:01:25 +02:00

14 lines
312 B
Nix

{pkgs, ...}: {
virtualisation.arion = {
projects.dns.settings = {
imports = [./arion-compose.nix];
};
};
# Fix containers not being able to use pihole as dns
networking.resolvconf.useLocalResolver = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [80 443];
};
}