diff --git a/hosts/tahani/adguardhome.nix b/hosts/tahani/adguardhome.nix index 979f783..1e432ad 100644 --- a/hosts/tahani/adguardhome.nix +++ b/hosts/tahani/adguardhome.nix @@ -1,6 +1,7 @@ -{...}: { +{ services.adguardhome = { enable = true; + host = "0.0.0.0"; port = 10000; settings = { dns = { diff --git a/hosts/tahani/networking.nix b/hosts/tahani/networking.nix index 4c4371b..f2bba33 100644 --- a/hosts/tahani/networking.nix +++ b/hosts/tahani/networking.nix @@ -11,9 +11,13 @@ nameservers = ["1.1.1.1"]; firewall = { enable = true; - trustedInterfaces = ["tailscale0"]; - allowedUDPPorts = [config.services.tailscale.port]; - allowedTCPPorts = [22]; + trustedInterfaces = ["eno1" "tailscale0"]; + allowedUDPPorts = [ + config.services.tailscale.port + ]; + allowedTCPPorts = [ + 22 + ]; checkReversePath = "loose"; }; };