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 arandr
xss-lock i3lock xss-lock i3lock
xdotool xdotool
xlibs.xbacklight
] ++ gnome3.corePackages; ] ++ gnome3.corePackages;
fonts = { fonts = {

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

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