mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
cgminer: respect xserver.display variable
This commit is contained in:
parent
eba3f92ef9
commit
874df3fe70
@ -126,7 +126,7 @@ in
|
||||
|
||||
environment = {
|
||||
LD_LIBRARY_PATH = ''/run/opengl-driver/lib:/run/opengl-driver-32/lib'';
|
||||
DISPLAY = ":0";
|
||||
DISPLAY = ":${toString config.services.xserver.display}";
|
||||
GPU_MAX_ALLOC_PERCENT = "100";
|
||||
GPU_USE_SYNC_OBJECTS = "1";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user