added podman as the oci-runtime

This commit is contained in:
2026-07-06 23:56:53 -05:00
parent ff8f8d7e39
commit 1a2796a159
+8 -4
View File
@@ -1,11 +1,15 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
virtualisation.podman = { virtualisation = {
enable = true; oci-containers.backend = "podman";
containers.registries.search = [ "docker.io" ];
podman = {
enable = true;
dockerCompat = true; dockerCompat = true;
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
};
}; };
# For rootless containers # For rootless containers