hosts: move xserver to services/

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 17:58:58 +05:30
parent f4a8493dce
commit f9e29ce77f
2 changed files with 6 additions and 16 deletions

View File

@@ -0,0 +1,26 @@
{ config, lib, ... }:
{
services = {
libinput = {
enable = true;
mouse = {
accelSpeed = "0";
};
touchpad = {
middleEmulation = false;
clickMethod = "buttonareas";
tapping = true;
naturalScrolling = true;
};
};
xserver = {
enable = true;
displayManager.startx.enable = true;
xkb.layout = "us";
xkb.variant = "colemak_dh";
autoRepeatDelay = 320;
autoRepeatInterval = 30;
};
};
}