nix-config/modules/virtualization.nix
Donovan Glover bbb0110a03
virtualization: Always use vmVariant
This works since we're no longer depending on a network of virtual
machines that use their own virtualization configurations.
2023-06-18 11:58:37 -04:00

27 lines
508 B
Nix

{
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;
cores = 4;
sharedDirectories = {
testing = {
source = "/home/user/containers/testing";
target = "/mnt";
};
};
};
virtualisation.qemu.options = [
"-device virtio-vga-gl"
"-display sdl,gl=on,show-cursor=off"
"-full-screen"
"-audio pa,model=hda"
];
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
};
};
}