From bf5ebed6c687a29b1dbccadfc201b474e67503c0 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 1 Aug 2023 12:08:36 -0400 Subject: [PATCH] virtualization: Disable interception-tools inside vm 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. --- modules/virtualization.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/virtualization.nix b/modules/virtualization.nix index c2261212..0e099436 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -1,3 +1,5 @@ +{ lib, ... }: + { virtualisation.vmVariant = { virtualisation = { @@ -21,5 +23,7 @@ environment.sessionVariables = { WLR_NO_HARDWARE_CURSORS = "1"; }; + + services.interception-tools.enable = lib.mkForce false; }; }