added podman as the oci-runtime
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.podman = {
|
||||
virtualisation = {
|
||||
oci-containers.backend = "podman";
|
||||
containers.registries.search = [ "docker.io" ];
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
# For rootless containers
|
||||
security.unprivilegedUsernsClone = true;
|
||||
|
||||
Reference in New Issue
Block a user