Added NixOS configs

This commit is contained in:
2021-03-31 05:41:15 +05:30
commit 2680d535b5
21 changed files with 1902 additions and 0 deletions

26
Hardware/xorg.nix Normal file
View 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";
};
};
}