Adguard Home: Difference between revisions

Initial Commit: added example configuration & link to NixOS Search
 
m fix: new parameter available host and port which override the param http.address
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Expansion}}
[https://github.com/AdguardTeam/AdGuardHome AdGuard Home] is an DNS Server for blocking ads and tracking.
== Example config ==
== Example config ==
<syntaxhighlight lang="nixos">
<syntaxhighlight lang="nixos">
   services.adguardhome = {
   services.adguardhome = {
     enable = true;
     enable = true;
    # You can select any ip and port, just make sure to open firewalls where needed
    host = "127.0.0.1";
    port = 3003;
     settings = {
     settings = {
      http = {
        # You can select any ip and port, just make sure to open firewalls where needed
        address = "127.0.0.1:3003";
      };
       dns = {
       dns = {
         upstream_dns = [
         upstream_dns = [
Line 37: Line 39:
   };
   };
</syntaxhighlight>See available options for the service at [https://search.nixos.org/options?query=services.adguardhome search.nixos.org/options?query=services.adguardhome]
</syntaxhighlight>See available options for the service at [https://search.nixos.org/options?query=services.adguardhome search.nixos.org/options?query=services.adguardhome]
[[Category:Applications]]
[[Category:Networking]]
[[Category:Server]]
[[Category:DNS]]