grimm-nixos-laptop/modules/system-packages.nix

42 lines
754 B
Nix

{pkgs, ...}: {
programs.droidcam.enable = true;
environment.systemPackages = with pkgs; [
spice-gtk
wget
tree
file
kate
util-linux
btop
kitty
polkit-kde-agent
skanpage
cached-nix-shell
gnupg
visualvm
ffmpeg-full
lm_sensors
oci-cli
xcb-util-cursor
krfb
imagemagick
pypy3
kdePackages.audiocd-kio
(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
export DRI_PRIME=1
exec "$@"
'')
(writeShellScriptBin "rebuild" ''
pkexec nixos-rebuild switch --flake /home/grimmauld/grimm-nixos-laptop
'')
];
}