mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +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 = {
|
services = {
|
||||||
recursive-nameserver = {
|
blocking-nameserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
blockAds = true;
|
gui.domain = "adguard.${config.custom.networking.overlay.fqdn}";
|
||||||
};
|
};
|
||||||
|
recursive-nameserver.enable = true;
|
||||||
private-nameserver.enable = true;
|
private-nameserver.enable = true;
|
||||||
|
|
||||||
syncthing = {
|
syncthing = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, ... }:
|
{ config, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.server-profile ];
|
imports = [ self.nixosModules.server-profile ];
|
||||||
|
|
||||||
|
|
@ -21,10 +21,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
recursive-nameserver = {
|
blocking-nameserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
blockAds = true;
|
gui.domain = "adguard.${config.custom.networking.overlay.fqdn}";
|
||||||
};
|
};
|
||||||
|
recursive-nameserver.enable = true;
|
||||||
private-nameserver.enable = true;
|
private-nameserver.enable = true;
|
||||||
public-nameserver = {
|
public-nameserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue