1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 17:14:38 +03:00

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 = {
enable = true; libvirtd = {
qemuRunAsRoot = false; 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 # you'll need to add your user to 'libvirtd' group to use virt-manager