nixos/server/adguardhome.nix

12 lines
308 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 3000 ];
networking.firewall.allowedUDPPorts = [ 53 ];
}