enable adguard home
This commit is contained in:
parent
ae22a081c8
commit
0a16ebf428
2 changed files with 28 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
|||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
lua
|
||||
sqlite
|
||||
];
|
||||
|
||||
ringofstorms_common = {
|
||||
|
|
|
@ -6,7 +6,33 @@
|
|||
services.adguardhome = {
|
||||
enable = true;
|
||||
allowDHCP = true;
|
||||
openFirewall = true;
|
||||
openFirewall = false;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
53
|
||||
67
|
||||
68
|
||||
5543
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
53
|
||||
67
|
||||
68
|
||||
784
|
||||
853
|
||||
8853
|
||||
5443
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"h001.net.joshuabell.xyz " = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue