mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-16 05:43:10 +01:00
14 lines
289 B
Nix
14 lines
289 B
Nix
{ ... }:
|
|
{
|
|
networking.firewall.allowedTCPPorts = [ 53 ];
|
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
|
services.adguardhome = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
settings = {
|
|
dns.bind_hosts = [ "192.168.42.2" ];
|
|
http.address = "0.0.0.0:3000";
|
|
};
|
|
};
|
|
}
|