nixos/server/adguardhome.nix
Evie Litherland-Smith d2baf077e8 Add adguard home and initial nginx config
nginx currently only forwards to adguard, todo add more
2023-05-07 18:20:26 +01:00

11 lines
260 B
Nix

{ ... }:
{
imports = [ ./nginx ];
services.adguardhome = {
enable = true;
mutableSettings = true;
};
services.nginx.virtualHosts."guard.xenia.me.uk" = import ./nginx/sites/adguardhome.nix;
networking.firewall.allowedTCPPorts = [ 53 2900 ];
}