blob: 745451cc696d41b4a1da60fe625c7f08ba4573a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
virt-manager
bridge-utils
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# virtualization
boot.kernelModules = [ "kvm-intel" ];
virtualisation = {
libvirtd = {
enable = true;
qemu.runAsRoot = false;
qemu.package = pkgs.qemu_full;
};
podman = {
enable = true;
dockerCompat = true;
};
};
}
|