diff --git a/hosts/srv-core/configuration.nix b/hosts/srv-core/configuration.nix index 3efc798..e912bac 100644 --- a/hosts/srv-core/configuration.nix +++ b/hosts/srv-core/configuration.nix @@ -17,6 +17,10 @@ }; services = { + blocking-nameserver = { + enable = true; + gui.domain = "adguard.${config.custom.networking.overlay.fqdn}"; + }; recursive-nameserver.enable = true; private-nameserver.enable = true; diff --git a/hosts/vps-ns/configuration.nix b/hosts/vps-ns/configuration.nix index 701eb12..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,6 +21,10 @@ }; services = { + blocking-nameserver = { + enable = true; + gui.domain = "adguard.${config.custom.networking.overlay.fqdn}"; + }; recursive-nameserver.enable = true; private-nameserver.enable = true; public-nameserver = {