feat: blender offload and cuda
This commit is contained in:
parent
80d61892b3
commit
42a59f094b
7 changed files with 25 additions and 131 deletions
|
|
@ -197,7 +197,11 @@ in
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
rustdesk
|
||||
blender
|
||||
((blender.override { cudaSupport = true; }).overrideAttrs (prev: {
|
||||
postInstall = ''
|
||||
sed -i 's|Exec=blender %f|Exec=/run/current-system/sw/bin/nvidia-offload blender %f|' $out/share/applications/blender.desktop
|
||||
'';
|
||||
}))
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
|
|
@ -215,5 +219,4 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue