fix: switch to podman

This commit is contained in:
philip-peterson 2024-12-06 22:48:27 -09:00
parent 83da288a5f
commit a82ebae6ca

View file

@ -58,13 +58,6 @@ in {
pkgs.arion pkgs.arion
]; ];
# Arion works with Docker, but for NixOS-based containers, you need Podman
# since NixOS 21.05.
virtualisation.docker.enable = false;
virtualisation.podman.enable = true;
virtualisation.podman.dockerSocket.enable = true;
virtualisation.podman.defaultNetwork.dnsname.enable = true;
swapDevices = [ swapDevices = [
{ {
device = "/swapfile"; device = "/swapfile";
@ -98,6 +91,14 @@ in {
autoPrune.enable = true; autoPrune.enable = true;
}; };
# Arion works with Docker, but for NixOS-based containers, you need Podman
# since NixOS 21.05.
virtualisation.podman = {
enable = true;
dockerSocket.enable = true;
defaultNetwork.dnsname.enable = true;
};
virtualisation.oci-containers = { virtualisation.oci-containers = {
backend = "docker"; backend = "docker";