Add cuda for blender when gunter

This commit is contained in:
Torjus Håkestad 2024-05-03 12:46:59 +02:00
parent 6fff4a2ffa
commit 7325ebb79a

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, osConfig, ... }:
let let
my-pomodoro = pkgs.callPackage ../../packages/open-pomodoro.nix { }; my-pomodoro = pkgs.callPackage ../../packages/open-pomodoro.nix { };
withCuda = if (osConfig.system.name == "gunter") then true else false;
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -93,7 +94,9 @@ in
rust-analyzer rust-analyzer
# blender # blender
unstable.blender (unstable.blender.override {
cudaSupport = withCuda;
})
# Homemade shit # Homemade shit
ghettoptt ghettoptt