DaVinci Resolve: Difference between revisions
m Reformat example code with nixfmt |
Make minimal example actually minimal |
||
Line 52: | Line 52: | ||
'''Here is a confirmed minimal | '''Here is a confirmed minimal configuration for amdgpu, radeonsi and OpenCL via Mesa (Rusticl):'''<syntaxhighlight lang="nix">{ | ||
config, | config, | ||
lib, | lib, | ||
Line 59: | Line 59: | ||
}: | }: | ||
{ | { | ||
environment.systemPackages = with pkgs; [ | environment.systemPackages = with pkgs; [ | ||
davinci-resolve | davinci-resolve | ||
]; | ]; | ||
environment.variables = { | environment.variables = { | ||
RUSTICL_ENABLE = "radeonsi"; | RUSTICL_ENABLE = "radeonsi"; | ||
}; | }; | ||
hardware.graphics = { | hardware.graphics = { | ||
enable = true; | enable = true; | ||
extraPackages = with pkgs; [ | extraPackages = with pkgs; [ | ||
mesa.opencl # Enables Rusticl (OpenCL) support | mesa.opencl # Enables Rusticl (OpenCL) support | ||
]; | ]; | ||
}; | }; | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||