feat(pi4): Enable podman

This commit is contained in:
GaspardCulis 2024-11-20 08:08:17 +01:00
parent e29f3fe644
commit 2e0e4709fc

View file

@ -29,14 +29,14 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
]; ];
networking = { # Podman
interfaces."wlan0".useDHCP = true; virtualisation = {
wireless = { containers.enable = true;
interfaces = ["wlan0"]; oci-containers.backend = "podman";
podman = {
enable = true; enable = true;
networks = { # Required for containers under podman-compose to be able to talk to each other.
"TestNetwork".psk = "not_an_actual_password_leak"; defaultNetwork.settings.dns_enabled = true;
};
}; };
}; };