grimm-nixos-laptop/modules/system-packages.nix
2024-03-02 23:15:51 +01:00

49 lines
866 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
(python3.withPackages(ps: with ps; [
requests
matplotlib
numpy
scipy
]))
# libsForQt5.
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
'')
];
}