boromir: cuda

This commit is contained in:
Adrian Lauterer 2024-06-20 15:30:43 +02:00
parent 3b167273ee
commit 0500370bae
3 changed files with 27 additions and 5 deletions

View File

@ -58,6 +58,11 @@
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git git
wget wget
poetry
python3
llama-cpp
ollama
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View File

@ -6,7 +6,11 @@
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
nixpkgs.config = {
allowUnfree = true;
cudaSupport = true;
};
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
#boot with nvidia kernel module #boot with nvidia kernel module
@ -43,8 +47,21 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#cudaPackages.cudnn #cudaPackages.cudnn
cudaPackages.cudatoolkit cudaPackages.cudatoolkit
cudaPackages.cudnn
nvtopPackages.nvidia nvtopPackages.nvidia
libxcrypt-legacy
gcc
xgboostWithCuda
cudaPackages.setupCudaHook
cudaPackages.nccl
cudaPackages.markForCudatoolkitRootHook
cmake
llama-cpp
python3Packages.pip
cudaPackages.cuda_cudart
cudaPackages.cuda_cudart.static
pkgs.cudaPackages.libcublas
#cudaPackages.tensorrt_8_6_0 #needs to be added manually, to the store and is a pain because of the license agreement and garbage collection #cudaPackages.tensorrt_8_6_0 #needs to be added manually, to the store and is a pain because of the license agreement and garbage collection
]; ];

View File

@ -15,7 +15,7 @@ imports =
obs-cli obs-cli
#obs-studio-plugins.obs-3d-effect #obs-studio-plugins.obs-3d-effect
obs-studio-plugins.wlrobs #obs-studio-plugins.wlrobs
#obs-studio-plugins.obs-ndi #obs-studio-plugins.obs-ndi
#obs-studio-plugins.waveform #obs-studio-plugins.waveform
#obs-studio-plugins.obs-vaapi #obs-studio-plugins.obs-vaapi
@ -28,8 +28,8 @@ imports =
#obs-studio-plugins.obs-source-record #obs-studio-plugins.obs-source-record
#obs-studio-plugins.obs-replay-source #obs-studio-plugins.obs-replay-source
#obs-studio-plugins.obs-source-switcher #obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-backgroundremoval #obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-pipewire-audio-capture #obs-studio-plugins.obs-pipewire-audio-capture
shotcut shotcut