19 lines
350 B
Nix
19 lines
350 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ../traefik/adguardhome.nix ];
|
|
services.adguardhome = {
|
|
enable = true;
|
|
mutableSettings = false;
|
|
settings = {
|
|
bind_port = 3001;
|
|
# schema_version = 14;
|
|
};
|
|
openFirewall = true;
|
|
};
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 53 ];
|
|
allowedUDPPorts = [ 53 ];
|
|
};
|
|
}
|