21 lines
354 B
Nix
21 lines
354 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
lib.mkIf config.bchmnn.collections.virtualisation.enable {
|
|
virtualisation = {
|
|
libvirtd.enable = true;
|
|
docker = {
|
|
enable = true;
|
|
};
|
|
oci-containers = {
|
|
backend = "docker";
|
|
};
|
|
containers = {
|
|
enable = true;
|
|
};
|
|
};
|
|
environment.systemPackages = with pkgs; [ virtiofsd ];
|
|
}
|