Add adguardhome.

This commit is contained in:
Nolan Darilek 2024-12-31 14:48:47 -06:00
parent 575dd8a7ed
commit 61b20b94d4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{
containers.adguardhome = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.0.1";
localAddress = "192.168.0.4";
config =
{ lib, ... }:
{
services = {
adguardhome = {
enable = true;
port = 80;
settings = {
filtering = {
protection_enabled = true;
filtering_enabled = true;
};
};
};
tailscale = {
enable = true;
interfaceName = "userspace-networking";
};
};
};
};
}

View File

@ -24,6 +24,7 @@
./apps/nextcloud.nix
./apps/searxng.nix
./apps/actual.nix
./apps/adguard.nix
];
boot.loader.grub = {