diff --git a/machines/boromir/configuration.nix b/machines/boromir/configuration.nix index 042dd94..e7fcc52 100644 --- a/machines/boromir/configuration.nix +++ b/machines/boromir/configuration.nix @@ -58,6 +58,11 @@ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. git wget + poetry + python3 + llama-cpp + ollama + ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/machines/boromir/nvidia.nix b/machines/boromir/nvidia.nix index 7803b77..a2c85a9 100644 --- a/machines/boromir/nvidia.nix +++ b/machines/boromir/nvidia.nix @@ -6,7 +6,11 @@ driSupport = true; driSupport32Bit = true; }; - + nixpkgs.config = { + allowUnfree = true; + cudaSupport = true; + }; + # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = ["nvidia"]; #boot with nvidia kernel module @@ -43,8 +47,21 @@ environment.systemPackages = with pkgs; [ #cudaPackages.cudnn cudaPackages.cudatoolkit - + cudaPackages.cudnn 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 ]; diff --git a/profiles/video.nix b/profiles/video.nix index e57abb2..5dfb30a 100644 --- a/profiles/video.nix +++ b/profiles/video.nix @@ -15,7 +15,7 @@ imports = obs-cli #obs-studio-plugins.obs-3d-effect - obs-studio-plugins.wlrobs + #obs-studio-plugins.wlrobs #obs-studio-plugins.obs-ndi #obs-studio-plugins.waveform #obs-studio-plugins.obs-vaapi @@ -28,8 +28,8 @@ imports = #obs-studio-plugins.obs-source-record #obs-studio-plugins.obs-replay-source #obs-studio-plugins.obs-source-switcher - obs-studio-plugins.obs-backgroundremoval - obs-studio-plugins.obs-pipewire-audio-capture + #obs-studio-plugins.obs-backgroundremoval + #obs-studio-plugins.obs-pipewire-audio-capture shotcut