mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
bf5ebed6c6
This fixes an issue where dual-function-keys would run on both the host and the virtual machine, thus causing issues with the escape key.
30 lines
536 B
Nix
30 lines
536 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
virtualisation.vmVariant = {
|
|
virtualisation = {
|
|
memorySize = 8192;
|
|
cores = 4;
|
|
|
|
sharedDirectories = {
|
|
home = {
|
|
source = "$HOME";
|
|
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";
|
|
};
|
|
|
|
services.interception-tools.enable = lib.mkForce false;
|
|
};
|
|
}
|