summaryrefslogtreecommitdiff
path: root/hosts/adguard.nix
blob: c956189cb7339bac9001b7beeba3114c287f5442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{...}:
{
  services.adguardhome = {
    enable = true;
    openFirewall = true;
    settings = {
      bind_port: 3001;
      dns = {
        bind_host = "0.0.0.0";
        bootstrap_dns = [
          "1.1.1.1"
          "1.0.0.1"
        ];
      };
    };
  };
}