From f35599a59a080f0e7a173e21cae3d51dc230a212 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Fri, 15 Aug 2025 18:34:37 +0200 Subject: Revert "retire toaster" This reverts commit 1baa256be04a8b4e711a7d48a76197b5ffad6637. --- hosts/toaster/amd.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hosts/toaster/amd.nix (limited to 'hosts/toaster/amd.nix') diff --git a/hosts/toaster/amd.nix b/hosts/toaster/amd.nix new file mode 100644 index 0000000..b58784f --- /dev/null +++ b/hosts/toaster/amd.nix @@ -0,0 +1,22 @@ +{ ... }: +{ + boot.initrd.kernelModules = [ "amdgpu" ]; + + boot.kernelParams = [ + # use new amd pstate driver + "amd_pstate=active" + # fix flicker + "amdgpu.dcdebugmask=0x10" + ]; + + # hardware.graphics = { + # extraPackages = with pkgs; [ + # rocm-opencl-icd + # rocm-opencl-runtime + # amdvlk + # ]; + # extraPackages32 = with pkgs; [ + # driversi686Linux.amdvlk + # ]; + # }; +} -- cgit v1.3.1