mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
26 lines
487 B
Nix
26 lines
487 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"
|
|
"-audio pa,model=hda"
|
|
];
|
|
|
|
environment.sessionVariables = {
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
};
|
|
};
|
|
}
|