From 8f74398f33f96fd3944f80251d5d7f223054d199 Mon Sep 17 00:00:00 2001 From: mc-fucker Date: Tue, 17 Oct 2023 13:07:54 +0200 Subject: [PATCH] added dns for default podman network --- modules/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/generic.nix b/modules/generic.nix index 633334f..e6d4090 100644 --- a/modules/generic.nix +++ b/modules/generic.nix @@ -109,6 +109,10 @@ in enable = true; wantedBy = [ "multi-user.target" ]; }); + + virtualisation.podman.defaultNetwork.settings = (lib.mkIf config.virtualisation.podman.enable { + dns_enabled = true; + }); # disabling prune until nixos 23.05 drops # due to compability issues #virtualisation.podman.autoPrune.enable = config.virtualisation.podman.enable;