nixos/xserver: introduce attr display to xserver.drivers

Specifically for NVIDIA so that only the device section would be created
This commit is contained in:
Edmund Wu
2019-12-10 11:35:29 -05:00
parent e8daa1e35c
commit 632a8a7bb2
4 changed files with 50 additions and 51 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ in
nixpkgs.config.xorg.abiCompat = "1.19";
services.xserver.drivers = singleton
{ name = "amdgpu"; modules = [ package ]; };
{ name = "amdgpu"; modules = [ package ]; display = true; };
hardware.opengl.package = package;
hardware.opengl.package32 = package32;