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:
@@ -60,5 +60,7 @@ in {
|
||||
drm
|
||||
hwaccel
|
||||
'';
|
||||
|
||||
services.mesa.enable = mkIf cfg.hwRender true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user