diff options
author | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
commit | 78907aa98c1af8624a62ca123d088c6c16424f41 (patch) | |
tree | 477fe923810522acc211b7514e4931af80f33ed7 /hosts/adguard.nix |
init
Diffstat (limited to 'hosts/adguard.nix')
-rw-r--r-- | hosts/adguard.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hosts/adguard.nix b/hosts/adguard.nix new file mode 100644 index 0000000..c956189 --- /dev/null +++ b/hosts/adguard.nix @@ -0,0 +1,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" + ]; + }; + }; + }; +} |