virt: enable oci containers via podman
This commit is contained in:
parent
96b1ebf556
commit
2a53745f3e
1 changed files with 17 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue