tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cgminer: respect xserver.display variable
Anders Papitto
9 years ago
874df3fe
eba3f92e
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
misc
cgminer.nix
+1
-1
nixos/modules/services/misc/cgminer.nix
···
126
126
127
127
environment = {
128
128
LD_LIBRARY_PATH = ''/run/opengl-driver/lib:/run/opengl-driver-32/lib'';
129
129
-
DISPLAY = ":0";
129
129
+
DISPLAY = ":${toString config.services.xserver.display}";
130
130
GPU_MAX_ALLOC_PERCENT = "100";
131
131
GPU_USE_SYNC_OBJECTS = "1";
132
132
};