From 4287aacf7ca8f11ebaa79d5dc9860c2650f2ee04 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 9 Jul 2023 23:31:08 +0300 Subject: [PATCH] please work --- modules/desktop/bspwm/default.nix | 14 +++++++++++++- modules/dev/projects/SakoEngine/default.nix | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/modules/desktop/bspwm/default.nix b/modules/desktop/bspwm/default.nix index 782386d5..e0636544 100644 --- a/modules/desktop/bspwm/default.nix +++ b/modules/desktop/bspwm/default.nix @@ -12,7 +12,19 @@ in services.xserver = { enable = true; windowManager.bspwm.enable = true; - libinput.enable = true; + libinput = { + enable = true; + + # no mouse accel + mouse = { + accelProfile = "flat"; + }; + + # no touchpad accel + touchpad = { + accelProfile = "flat"; + }; + }; }; users.users.sako.packages = with pkgs; [ polybar diff --git a/modules/dev/projects/SakoEngine/default.nix b/modules/dev/projects/SakoEngine/default.nix index 2f407131..f8e4be8b 100644 --- a/modules/dev/projects/SakoEngine/default.nix +++ b/modules/dev/projects/SakoEngine/default.nix @@ -12,6 +12,7 @@ in users.users.sako.packages = with pkgs; [ SDL2 SDL2_image + xorg.libX11 ]; }; }