From 7325ebb79abc0981a2939c2fb356246f8303a47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Fri, 3 May 2024 12:46:59 +0200 Subject: [PATCH] Add cuda for blender when gunter --- home/packages/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/packages/default.nix b/home/packages/default.nix index 818bedf..711e5de 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -1,6 +1,7 @@ -{ pkgs, ... }: +{ pkgs, osConfig, ... }: let my-pomodoro = pkgs.callPackage ../../packages/open-pomodoro.nix { }; + withCuda = if (osConfig.system.name == "gunter") then true else false; in { home.packages = with pkgs; [ @@ -93,7 +94,9 @@ in rust-analyzer # blender - unstable.blender + (unstable.blender.override { + cudaSupport = withCuda; + }) # Homemade shit ghettoptt