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

42 lines
755 B
Nix
Raw Normal View History

2024-02-02 12:59:59 +01:00
{pkgs, ...}: {
programs.droidcam.enable = true;
environment.systemPackages = with pkgs; [
spice-gtk
2023-11-28 23:24:43 +01:00
wget
tree
file
kate
util-linux
btop
kitty
polkit-kde-agent
skanpage
cached-nix-shell
gnupg
visualvm
2023-11-28 23:24:43 +01:00
ffmpeg-full
lm_sensors
oci-cli
xcb-util-cursor
2024-02-14 22:40:13 +01:00
krfb
2023-11-28 23:24:43 +01:00
imagemagick
2024-03-05 12:08:49 +01:00
# pypy3
2024-02-14 22:40:13 +01:00
kdePackages.audiocd-kio
2023-11-29 22:56:30 +01:00
(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
2024-03-02 23:15:51 +01:00
export DRI_PRIME=1
2023-11-29 22:56:30 +01:00
exec "$@"
'')
(writeShellScriptBin "rebuild" ''
2024-02-02 12:59:59 +01:00
pkexec nixos-rebuild switch --flake /home/grimmauld/grimm-nixos-laptop
2023-11-29 22:56:30 +01:00
'')
];
2023-11-28 23:24:43 +01:00
}