2023-08-01 18:08:36 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2023-06-18 14:06:26 +02:00
|
|
|
{
|
2023-06-18 17:56:51 +02:00
|
|
|
virtualisation.vmVariant = {
|
|
|
|
virtualisation = {
|
|
|
|
memorySize = 8192;
|
|
|
|
cores = 4;
|
2023-06-18 16:43:30 +02:00
|
|
|
|
2023-06-18 17:56:51 +02:00
|
|
|
sharedDirectories = {
|
2023-07-11 13:43:38 +02:00
|
|
|
home = {
|
|
|
|
source = "$HOME";
|
2023-06-18 17:56:51 +02:00
|
|
|
target = "/mnt";
|
|
|
|
};
|
2023-06-18 16:43:30 +02:00
|
|
|
};
|
|
|
|
};
|
2023-06-18 14:06:26 +02:00
|
|
|
|
2023-06-18 17:56:51 +02:00
|
|
|
virtualisation.qemu.options = [
|
|
|
|
"-device virtio-vga-gl"
|
|
|
|
"-display sdl,gl=on,show-cursor=off"
|
|
|
|
"-audio pa,model=hda"
|
|
|
|
];
|
2023-06-18 14:06:26 +02:00
|
|
|
|
2023-06-18 17:56:51 +02:00
|
|
|
environment.sessionVariables = {
|
|
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
|
|
};
|
2023-08-01 18:08:36 +02:00
|
|
|
|
|
|
|
services.interception-tools.enable = lib.mkForce false;
|
2024-01-12 10:14:51 +01:00
|
|
|
networking.resolvconf.enable = lib.mkForce true;
|
2023-06-18 14:06:26 +02:00
|
|
|
};
|
|
|
|
}
|