mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-29 01:59:22 +01:00
bbb0110a03
This works since we're no longer depending on a network of virtual machines that use their own virtualization configurations.
27 lines
508 B
Nix
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";
|
|
};
|
|
};
|
|
}
|