From 34c106dadccee59aa36187c33dc74d1d2ab6b708 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Wed, 2 Oct 2024 15:03:00 +0200 Subject: [PATCH] fix(OVHCloud): Properly configure podman --- hosts/OVHCloud/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/OVHCloud/default.nix b/hosts/OVHCloud/default.nix index ff58cab..afada42 100644 --- a/hosts/OVHCloud/default.nix +++ b/hosts/OVHCloud/default.nix @@ -31,6 +31,17 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos" ]; + # Podman + virtualisation = { + containers.enable = true; + oci-containers.backend = "podman"; + podman = { + enable = true; + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; + }; + }; + environment.systemPackages = with pkgs; [ helix git