grimm-nixos-laptop/modules/system-packages.nix
LordGrimmauld 60b9307662 some misc changes
- try cachix, but broken
 - add nvim
 - update stuff
2024-01-31 17:04:50 +01:00

66 lines
1.3 KiB
Nix

{pkgs, ...}:
let
my-python-packages = ps: with ps; [
requests
matplotlib
numpy
scipy
];
in
{
virtualisation.libvirtd.qemu.ovmf.packages = [
# pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd # AAVMF
pkgs.OVMF.fd
];
virtualisation.spiceUSBRedirection.enable = true;
# security.wrappers.spice-client-glib-usb-acl-helper.source = "${pkgs.spice_gtk}/bin/spice-client-glib-usb-acl-helper";
programs.droidcam.enable = true;
environment.systemPackages = [
pkgs.pkgsCross.aarch64-multiplatform.ubootQemuAarch64
# pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd # AAVMF
] ++ (with pkgs; [
spice-gtk
wget
tree
git
file
kate
git-lfs
util-linux
btop
kitty
polkit-kde-agent
skanpage
cached-nix-shell
gnupg
visualvm
ffmpeg-full
lm_sensors
oci-cli
xcb-util-cursor
imagemagick
pypy3
(python3.withPackages(ps: with ps; [
requests
matplotlib
numpy
scipy
# kio-admin
]))
(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 "$@"
'')
(writeShellScriptBin "rebuild" ''
sudo nixos-rebuild switch --flake /home/grimmauld/grimm-nixos-laptop
'')
]);
programs.xonsh.enable = true;
}