Enables libinput service on nixos

This commit is contained in:
willemml 2023-11-14 19:59:22 -08:00
parent 2b6ff3f566
commit ad80b6a97b
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
2 changed files with 11 additions and 4 deletions

View file

@ -13,7 +13,5 @@
username = "willem";
dotrepopath = "~/.config/dotfiles.nix";
sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus];
}

View file

@ -17,10 +17,19 @@
security.rtkit.enable = true;
services.xserver = {
enable = true;
layout = globals.keyboard.layout;
libinput.mouse.naturalScrolling = true;
libinput.touchpad.naturalScrolling = true;
xkbVariant = globals.keyboard.variant;
libinput = {
enable = true;
touchpad.tapping = true;
touchpad.naturalScrolling = true;
touchpad.scrollMethod = "twofinger";
touchpad.disableWhileTyping = true;
touchpad.clickMethod = "clickfinger";
};
};
sound.enable = true;