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:
parent
96b1ebf556
commit
2a53745f3e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user