2024-02-02 12:59:59 +01:00
|
|
|
{pkgs, ...}: {
|
2023-12-28 12:39:55 +01:00
|
|
|
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
|
2023-11-28 23:24:43 +01:00
|
|
|
wget
|
|
|
|
tree
|
|
|
|
file
|
|
|
|
kate
|
|
|
|
util-linux
|
|
|
|
btop
|
|
|
|
kitty
|
|
|
|
polkit-kde-agent
|
|
|
|
skanpage
|
|
|
|
cached-nix-shell
|
2024-01-31 17:04:50 +01:00
|
|
|
gnupg
|
2023-12-28 12:39:55 +01:00
|
|
|
visualvm
|
2023-11-28 23:24:43 +01:00
|
|
|
ffmpeg-full
|
2023-12-28 12:39:55 +01:00
|
|
|
lm_sensors
|
|
|
|
oci-cli
|
2024-01-31 17:04:50 +01:00
|
|
|
xcb-util-cursor
|
2024-02-14 22:40:13 +01:00
|
|
|
krfb
|
2023-11-28 23:24:43 +01:00
|
|
|
|
|
|
|
imagemagick
|
2023-12-28 12:39:55 +01:00
|
|
|
pypy3
|
|
|
|
(python3.withPackages(ps: with ps; [
|
|
|
|
requests
|
|
|
|
matplotlib
|
|
|
|
numpy
|
|
|
|
scipy
|
2024-02-14 22:40:13 +01:00
|
|
|
]))
|
|
|
|
|
|
|
|
libsForQt5.audiocd-kio
|
|
|
|
# libsForQt5.libkcompactdisc
|
|
|
|
# libsForQt5.kio-extras
|
|
|
|
# libsForQt5.phonon
|
|
|
|
# libsForQt5.qt5.qtmultimedia
|
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
|
|
|
|
exec "$@"
|
2024-01-31 17:04:50 +01:00
|
|
|
'')
|
|
|
|
|
|
|
|
(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-12-28 12:39:55 +01:00
|
|
|
]);
|
2023-11-28 23:24:43 +01:00
|
|
|
}
|