29 lines
480 B
Nix
29 lines
480 B
Nix
{pkgs, ...}:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
wget
|
|
xonsh
|
|
tree
|
|
git
|
|
file
|
|
kate
|
|
git-lfs
|
|
util-linux
|
|
btop
|
|
kitty
|
|
polkit-kde-agent
|
|
skanpage
|
|
cached-nix-shell
|
|
ffmpeg-full
|
|
|
|
imagemagick
|
|
|
|
(writeShellScriptBin "primerun" ''
|
|
export __NV_PRIME_RENDER_OFFLOAD=1
|
|
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
|
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
|
export __VK_LAYER_NV_optimus=NVIDIA_only
|
|
exec "$@"
|
|
'')
|
|
];
|
|
}
|