added podman as the oci-runtime

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