1
0
Fork 0
forked from Bun/nixos-config

Add back files from before, I'll just deactivate them going forward

This commit is contained in:
Jimbo 2024-09-19 23:22:58 -04:00
parent 294e8ef57f
commit 1ffd3cf5e9
4 changed files with 47 additions and 1 deletions

14
nixos/server/adguard.nix Normal file
View file

@ -0,0 +1,14 @@
{
services = {
adguardhome.enable = true;
nginx.virtualHosts."guard.${outputs.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
proxyWebsockets = true;
};
};
};
networking.firewall.allowedUDPPorts = [ 53 ];
}