Add adguardhome.
This commit is contained in:
parent
575dd8a7ed
commit
61b20b94d4
28
hosts/hub/apps/adguard.nix
Normal file
28
hosts/hub/apps/adguard.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -24,6 +24,7 @@
|
||||
./apps/nextcloud.nix
|
||||
./apps/searxng.nix
|
||||
./apps/actual.nix
|
||||
./apps/adguard.nix
|
||||
];
|
||||
|
||||
boot.loader.grub = {
|
||||
|
Loading…
Reference in New Issue
Block a user