From eb2873eb3a0012388f35d85cbff12ff21cc393fd Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Nov 2024 20:03:53 +0000 Subject: [PATCH] open port 53 for podman dns resolving --- hosts/common/optional/docker/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/common/optional/docker/default.nix b/hosts/common/optional/docker/default.nix index 8d06604..9a7272a 100644 --- a/hosts/common/optional/docker/default.nix +++ b/hosts/common/optional/docker/default.nix @@ -17,6 +17,9 @@ }; }; + # need to open firewall for dns resolving. see https://github.com/NixOS/nixpkgs/issues/226365#issuecomment-1814296639 + networking.firewall.interfaces."podman+".allowedUDPPorts = [ 53 ]; + environment.persistence."/persist" = { hideMounts = true; directories = [