mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +00:00
Enables libinput service on nixos
This commit is contained in:
parent
2b6ff3f566
commit
ad80b6a97b
2 changed files with 11 additions and 4 deletions
|
@ -13,7 +13,5 @@
|
||||||
|
|
||||||
username = "willem";
|
username = "willem";
|
||||||
|
|
||||||
dotrepopath = "~/.config/dotfiles.nix";
|
|
||||||
|
|
||||||
sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus];
|
sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus];
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,19 @@
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
layout = globals.keyboard.layout;
|
layout = globals.keyboard.layout;
|
||||||
libinput.mouse.naturalScrolling = true;
|
|
||||||
libinput.touchpad.naturalScrolling = true;
|
|
||||||
xkbVariant = globals.keyboard.variant;
|
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;
|
sound.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue