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, ... }: {
virtualisation.libvirtd = {
enable = true;
qemuRunAsRoot = false;
virtualisation = {
libvirtd = {
enable = true;
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