❄️ Dotfiles for our NixOS system configuration.
1{
2 services.adguardhome = {
3 enable = true;
4 host = "0.0.0.0";
5 port = 80;
6 settings = {
7 dns = {
8 port = 53;
9 port_tls = 853;
10 port_https = 443;
11 port_quic = 784;
12 };
13
14 web_port = 3000;
15 };
16 };
17
18 settings.firewall = {
19 allowedTCPPorts = [
20 80
21 443
22 3000
23 ];
24 allowedUDPPorts = [
25 53
26 784
27 ];
28 };
29}