nixos: Split mesa setup from xserver.nix

With kmscon, it is now possible to have a system without X that still
needs the mesa setup in /run/opengl-driver

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy
2014-01-15 08:17:19 -05:00
parent 48daf624c5
commit 852c270035
5 changed files with 137 additions and 105 deletions
+2
View File
@@ -60,5 +60,7 @@ in {
drm
hwaccel
'';
services.mesa.enable = mkIf cfg.hwRender true;
};
}