mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 14:19:08 +01:00
srv-core, vps-ns: Enable blocking-nameserver
This commit is contained in:
parent
2cdfec2086
commit
1c0cb61cdf
2 changed files with 7 additions and 5 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue