GPU config for steam

This commit is contained in:
Sergei Poljanski 2025-12-25 13:44:01 +02:00
commit e552264788
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# ThinkPad T14 G2(AMD)
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.

View file

@ -2,6 +2,12 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# AMD GPU
hardware.graphics = {
enable = true;
enable32Bit = true; # For Steam/Wine
};
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;