From d264d4b97429ddff512c96591cf1bc9b52ed6bc2 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Sat, 11 Nov 2023 03:14:56 +0300 Subject: [PATCH] fix podman dns issue --- machines/Home-Hypervisor/virtualisation.nix | 2 ++ profiles/virtualisation.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/machines/Home-Hypervisor/virtualisation.nix b/machines/Home-Hypervisor/virtualisation.nix index 28c0586..60ffd0d 100644 --- a/machines/Home-Hypervisor/virtualisation.nix +++ b/machines/Home-Hypervisor/virtualisation.nix @@ -69,4 +69,6 @@ startGid = 10000; }]; }; + + networking.firewall.interfaces."podman-+".allowedUDPPorts = [ 53 ]; } \ No newline at end of file diff --git a/profiles/virtualisation.nix b/profiles/virtualisation.nix index c1a356b..e82cc26 100644 --- a/profiles/virtualisation.nix +++ b/profiles/virtualisation.nix @@ -95,5 +95,7 @@ with config.deviceSpecific; { "/var/lib/containers" "/var/lib/lxd" ]; + + networking.firewall.interfaces."podman-+".allowedUDPPorts = [ 53 ]; }; }