From cf21221a97a93415f771d7c442d5b2947255e759 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 9 Oct 2024 17:36:43 -0300 Subject: [PATCH 1/2] sway: disable acceleration for all pointers --- user/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/sway/default.nix b/user/sway/default.nix index 2a6dc70..6679134 100644 --- a/user/sway/default.nix +++ b/user/sway/default.nix @@ -81,7 +81,7 @@ in # Ignore PS4 controller touchpad events input."1356:2508:Wireless_Controller_Touchpad".events = "disabled"; - input."1133:16537:Logitech_G502_X_PLUS" = { + input."type:pointer" = { accel_profile = "flat"; pointer_accel = "0"; }; From 7fcb1b18921eea586418528df59a7d0f82acab92 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 9 Oct 2024 17:37:06 -0300 Subject: [PATCH 2/2] rainbow: add swap --- hosts/double-rainbow.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/double-rainbow.nix b/hosts/double-rainbow.nix index e33b612..4c8636a 100644 --- a/hosts/double-rainbow.nix +++ b/hosts/double-rainbow.nix @@ -44,7 +44,7 @@ in fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [ { device = "/swapfile"; } ]; services.udev.extraRules = '' # Force all disks to use mq-deadline scheduler