2024-04-28 11:35:35 +02:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
environment.systemPackages = [
|
|
|
|
(pkgs.runCommand "gpu-screen-recorder"
|
|
|
|
{
|
|
|
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
|
|
|
} ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
makeWrapper ${pkgs.gpu-screen-recorder}/bin/gpu-screen-recorder $out/bin/gpu-screen-recorder \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.libglvnd}/lib \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${config.boot.kernelPackages.nvidia_x11}/lib
|
|
|
|
'')
|
2024-07-31 07:17:52 +02:00
|
|
|
# for scripts
|
|
|
|
pkgs.xdotool
|
|
|
|
pkgs.jq
|
2024-04-28 11:35:35 +02:00
|
|
|
];
|
|
|
|
}
|