diff --git a/configuration.nix b/configuration.nix index b56c4b6..04e623a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -55,6 +55,14 @@ layout = "de"; xkbVariant = "bone"; videoDrivers = ["modesetting" "nvidia"]; + libinput = { + enable = true; + mouse.accelProfile = "flat"; + touchpad = { + accelProfile = "flat"; + naturalScrolling = true; + }; + }; }; #TODO sollte nur bestimmte packages sein nicht alle @@ -71,9 +79,6 @@ # sound.enable = true; # hardware.pulseaudio.enable = true; - # Enable touchpad support (enabled default in most desktopManager). - services.xserver.libinput.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. users.users.patrick = { isNormalUser = true;