From f0bee7364a644306f2a10af1484c2b9dbaa879ec Mon Sep 17 00:00:00 2001 From: xinyangli Date: Fri, 22 Nov 2024 12:08:06 +0800 Subject: [PATCH] calcite: handle mouse keys with keyd --- machines/calcite/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/machines/calcite/configuration.nix b/machines/calcite/configuration.nix index 8d0100c..dec6e8b 100644 --- a/machines/calcite/configuration.nix +++ b/machines/calcite/configuration.nix @@ -36,6 +36,11 @@ in boot.supportedFilesystems = [ "ntfs" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + documentation = { + nixos.enable = false; + man.enable = false; + }; + security.tpm2 = { enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so @@ -159,6 +164,15 @@ in }; }; }; + "logiM720" = { + ids = [ "046d:b015" ]; + settings = { + main = { + mouse2 = "leftmeta"; + # leftalt = "mouse1"; + }; + }; + }; }; };