Fix steam on count
This commit is contained in:
parent
82778b6deb
commit
6b07717ef1
2 changed files with 13 additions and 2 deletions
|
|
@ -46,7 +46,6 @@ in
|
||||||
|
|
||||||
wine
|
wine
|
||||||
lutris
|
lutris
|
||||||
steam
|
|
||||||
|
|
||||||
gqrx
|
gqrx
|
||||||
sdrpp
|
sdrpp
|
||||||
|
|
|
||||||
|
|
@ -29,9 +29,21 @@
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
|
||||||
# Enable ROCm support
|
# Enable ROCm support
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
|
};
|
||||||
|
|
||||||
hardware.amdgpu.opencl.enable = true;
|
hardware.amdgpu.opencl.enable = true;
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
DRI_PRIME = "1";
|
||||||
|
};
|
||||||
|
|
||||||
# Add the ROCm packages to your system
|
# Add the ROCm packages to your system
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rocmPackages.rocminfo
|
rocmPackages.rocminfo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue