From ef91ea4e616816d63ce66cf662e64b294b208103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20I=C8=99an?= Date: Wed, 4 Mar 2026 19:27:31 +0100 Subject: [PATCH] isengard: fixed podman containers not resolving hostnames --- hosts/isengard.nix | 1 + modules/containers/nextcloud.nix | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/isengard.nix b/hosts/isengard.nix index a3f0b22..742183d 100644 --- a/hosts/isengard.nix +++ b/hosts/isengard.nix @@ -37,6 +37,7 @@ virtualisation.podman = { enable = true; dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; }; virtualisation.oci-containers.backend = "podman"; systemd.tmpfiles.rules = [ diff --git a/modules/containers/nextcloud.nix b/modules/containers/nextcloud.nix index af75c38..0707522 100644 --- a/modules/containers/nextcloud.nix +++ b/modules/containers/nextcloud.nix @@ -13,7 +13,6 @@ in nextcloud = { autoStart = true; image = "nextcloud:31-apache"; - hostname = "nextcloud"; ports = [ "0.0.0.0:10003:80" @@ -35,7 +34,6 @@ in nextcloud-db = { image = "postgres:18"; # trixie - hostname = "nextcloud-db"; volumes = [ "${workDir}/db:/var/lib/postgresql" @@ -48,7 +46,6 @@ in nextcloud-redis = { image = "redis:8-alpine"; # trixie - hostname = "nextcloud-redis"; }; }; }