From e55226478852bbaa82e80be11728eb0ed9778cf1 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Thu, 25 Dec 2025 13:44:01 +0200 Subject: [PATCH] GPU config for steam --- hardware-configuration.nix | 2 ++ modules/desktop.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 5830e80..6acef49 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,3 +1,5 @@ +# ThinkPad T14 G2(AMD) + # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. diff --git a/modules/desktop.nix b/modules/desktop.nix index 3ca093f..1fe9333 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -2,6 +2,12 @@ { config, pkgs, lib, ... }: { + # AMD GPU + hardware.graphics = { + enable = true; + enable32Bit = true; # For Steam/Wine + }; + # Enable the X11 windowing system. services.xserver.enable = true;