dotfiles/hosts/h001/mods/adguardhome.nix
RingOfStorms (Joshua Bell) 0a16ebf428 enable adguard home
2025-04-30 14:53:00 -05:00

38 lines
556 B
Nix

{
...
}:
{
config = {
services.adguardhome = {
enable = true;
allowDHCP = true;
openFirewall = false;
};
networking.firewall.allowedTCPPorts = [
53
67
68
5543
];
networking.firewall.allowedUDPPorts = [
53
67
68
784
853
8853
5443
];
services.nginx = {
virtualHosts = {
"h001.net.joshuabell.xyz " = {
locations."/" = {
proxyPass = "http://localhost:3000";
};
};
};
};
};
}