1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

refactor: split "real" modules and "config" modules

This commit is contained in:
oddlama 2024-05-25 17:56:30 +02:00
parent 045f15239a
commit cceae6c63c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
60 changed files with 126 additions and 113 deletions

View file

@ -0,0 +1,34 @@
{
services.xserver = {
enable = true;
dpi = 96;
displayManager.startx.enable = true;
desktopManager.xterm.enable = false;
autoRepeatDelay = 235;
autoRepeatInterval = 60;
videoDrivers = ["modesetting"];
xkb.layout = "de";
xkb.variant = "nodeadkeys";
};
services.libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "0";
middleEmulation = false;
};
# touchpad = {
# accelProfile = "flat";
# accelSpeed = "0.5";
# naturalScrolling = true;
# disableWhileTyping = true;
# };
};
services.autorandr.enable = true;
# Enable for Xorg debugging
# services.xserver.modules = lib.mkBefore [(pkgs.enableDebugging pkgs.xorg.xorgserver).out];
# environment.etc."X11/xinit/xserverrc".source = lib.mkForce (pkgs.writeShellScript "xserverrc" ''
# exec ${pkgs.enableDebugging pkgs.xorg.xorgserver}/bin/X ${toString config.services.xserver.displayManager.xserverArgs} "$@"
# '');
}