From 1c0cb61cdfb39170f676e2c4cfa5fa18b23dc667 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 17 Mar 2026 18:03:53 +0100 Subject: [PATCH] srv-core, vps-ns: Enable blocking-nameserver --- hosts/srv-core/configuration.nix | 5 +++-- hosts/vps-ns/configuration.nix | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hosts/srv-core/configuration.nix b/hosts/srv-core/configuration.nix index 5bdf6fe..e912bac 100644 --- a/hosts/srv-core/configuration.nix +++ b/hosts/srv-core/configuration.nix @@ -17,10 +17,11 @@ }; services = { - recursive-nameserver = { + blocking-nameserver = { enable = true; - blockAds = true; + gui.domain = "adguard.${config.custom.networking.overlay.fqdn}"; }; + recursive-nameserver.enable = true; private-nameserver.enable = true; syncthing = { diff --git a/hosts/vps-ns/configuration.nix b/hosts/vps-ns/configuration.nix index 98d0660..d19b173 100644 --- a/hosts/vps-ns/configuration.nix +++ b/hosts/vps-ns/configuration.nix @@ -1,4 +1,4 @@ -{ self, ... }: +{ config, self, ... }: { imports = [ self.nixosModules.server-profile ]; @@ -21,10 +21,11 @@ }; services = { - recursive-nameserver = { + blocking-nameserver = { enable = true; - blockAds = true; + gui.domain = "adguard.${config.custom.networking.overlay.fqdn}"; }; + recursive-nameserver.enable = true; private-nameserver.enable = true; public-nameserver = { enable = true;