diff --git a/common/globals.nix b/common/globals.nix index 932a876..b4cbafa 100644 --- a/common/globals.nix +++ b/common/globals.nix @@ -13,7 +13,5 @@ username = "willem"; - dotrepopath = "~/.config/dotfiles.nix"; - sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus]; } diff --git a/nixos/profiles/desktop.nix b/nixos/profiles/desktop.nix index 7e5d040..7419091 100644 --- a/nixos/profiles/desktop.nix +++ b/nixos/profiles/desktop.nix @@ -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;