theba: switch to modesetting driver

This commit is contained in:
Gabriel Ebner 2016-08-01 09:11:06 +02:00
parent 6b38997f8e
commit baee46a6ef
3 changed files with 8 additions and 5 deletions

1
i3.nix

@ -23,7 +23,6 @@
arandr
xss-lock i3lock
xdotool
xlibs.xbacklight
] ++ gnome3.corePackages;
fonts = {

@ -8,7 +8,7 @@
gimp
inkscape
jabref
libreoffice
stable.libreoffice
stable.calibre
coq_8_5

@ -32,8 +32,8 @@
enable = true;
# emulateWheel = true;
};
services.xserver.config =
''
services.xserver = {
config = ''
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "PS/2 Synaptics TouchPad"
@ -45,6 +45,10 @@
Option "YAxisMapping" "4 5"
EndSection
'';
videoDrivers = [ "modesetting" ];
useGlamor = true;
};
programs.light.enable = true;
services.tlp.enable = true;
@ -69,6 +73,6 @@
virtualisation.virtualbox.host.enable = true;
boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
}