diff --git a/shell.nix b/shell.nix index 016fa2c..4b3d7ae 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,10 @@ { pkgs ? import {} }: pkgs.mkShell { - nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg]; - shellHook="make -j"; + nativeBuildInputs = with pkgs; [ libGL xorg.libX11 libGLU glfw ffmpeg xorg.xvfb]; + shellHook='' + alias xdum="Xvfb :99 -screen 0 1920x1080x24 +extension GLX +render -noreset & export DISPLAY=:99"; + alias xdumstop='pkill Xvfb' + make -j; + ''; }