nix-config/host/virtualization/default.nix
Donovan Glover 8c9ff827a2
virtualization: Restrict network
Note that I haven't figured out how to properly configure the networking
for the VM yet.
2023-06-04 21:19:45 -04:00

17 lines
346 B
Nix

{
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;
cores = 4;
restrictNetwork = true;
};
virtualisation.qemu.options =
[ "-device virtio-vga-gl" "-display sdl,gl=on,show-cursor=off" "-full-screen" ];
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
};
};
}