summaryrefslogtreecommitdiff
path: root/hosts/adguard.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/adguard.nix')
-rw-r--r--hosts/adguard.nix17
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"
+ ];
+ };
+ };
+ };
+}