virt: enable oci containers via podman

This commit is contained in:
Timothy DeHerrera 2020-12-19 17:22:00 -07:00
parent 96b1ebf556
commit 2a53745f3e
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -1,7 +1,21 @@
{ pkgs, ... }: { { pkgs, ... }: {
virtualisation.libvirtd = { virtualisation = {
libvirtd = {
enable = true; enable = true;
qemuRunAsRoot = false; qemuRunAsRoot = false;
allowedBridges = [
"virbr0"
"virbr1"
];
};
podman = {
enable = true;
dockerCompat = true;
};
oci-containers.backend = "podman";
}; };
# you'll need to add your user to 'libvirtd' group to use virt-manager # you'll need to add your user to 'libvirtd' group to use virt-manager