Added NixOS configs
This commit is contained in:
26
Hardware/xorg.nix
Normal file
26
Hardware/xorg.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
libinput= {
|
||||
enable = true;
|
||||
mouse = {
|
||||
accelSpeed = "0";
|
||||
};
|
||||
touchpad = {
|
||||
middleEmulation = false;
|
||||
clickMethod = "buttonareas";
|
||||
tapping = true;
|
||||
naturalScrolling =true;
|
||||
};
|
||||
};
|
||||
displayManager = {startx = {enable = true; }; };
|
||||
videoDrivers = [ "nvidia" ];
|
||||
layout = "us";
|
||||
xkbVariant = "colemak";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user