From 2e0e4709fc45905af9d779822023ca9b63f38f97 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Wed, 20 Nov 2024 08:08:17 +0100 Subject: [PATCH] feat(pi4): Enable podman --- hosts/pi4/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/pi4/default.nix b/hosts/pi4/default.nix index f747909..f791486 100644 --- a/hosts/pi4/default.nix +++ b/hosts/pi4/default.nix @@ -29,14 +29,14 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos" ]; - networking = { - interfaces."wlan0".useDHCP = true; - wireless = { - interfaces = ["wlan0"]; + # Podman + virtualisation = { + containers.enable = true; + oci-containers.backend = "podman"; + podman = { enable = true; - networks = { - "TestNetwork".psk = "not_an_actual_password_leak"; - }; + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; }; };