l: rebind capslock, enable libinput

This commit is contained in:
lassulus 2018-12-09 17:07:53 +01:00
parent 72e9832f73
commit dfa8e29fd8
2 changed files with 4 additions and 3 deletions

View File

@ -97,9 +97,9 @@ in {
enable = true; enable = true;
layout = "us"; layout = "us";
display = mkForce 0; display = mkForce 0;
xkbModel = "evdev";
xkbVariant = "altgr-intl"; xkbVariant = "altgr-intl";
xkbOptions = "caps:backspace"; xkbOptions = "caps:escape";
libinput.enable = true;
displayManager.lightdm.enable = true; displayManager.lightdm.enable = true;
windowManager.default = "xmonad"; windowManager.default = "xmonad";
windowManager.session = [{ windowManager.session = [{

View File

@ -1,4 +1,4 @@
{ ... }: { lib, ... }:
{ {
hardware.trackpoint = { hardware.trackpoint = {
enable = true; enable = true;
@ -7,6 +7,7 @@
emulateWheel = true; emulateWheel = true;
}; };
services.xserver.libinput.enable = lib.mkForce false;
services.xserver.synaptics = { services.xserver.synaptics = {
enable = true; enable = true;
horizEdgeScroll = false; horizEdgeScroll = false;