From 3b276530b697f750121b585169e90ca3d476fb0f Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 19 Sep 2024 17:28:07 +0200 Subject: change webtray input to stable --- hosts/workstation/default.nix | 14 +++++++++++++- hosts/workstation/hardware.nix | 8 ++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index ae730ae..45fac27 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { imports = [ ./hardware.nix @@ -67,5 +67,17 @@ keyname = "n8"; }; + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + extraPackages = with pkgs; [ + amdvlk + rocmPackages.clr.icd + ]; + }; + + environment.systemPackages = with pkgs; [ clinfo ]; + system.stateVersion = "24.05"; } diff --git a/hosts/workstation/hardware.nix b/hosts/workstation/hardware.nix index c9e8c35..d047d2b 100644 --- a/hosts/workstation/hardware.nix +++ b/hosts/workstation/hardware.nix @@ -26,6 +26,14 @@ boot.kernelModules = [ "kvm-intel" "amdgpu" + "radeon" + "video=DP-1:1920x1080@60" + "video=DP-2:1920x1080@60" + "video=HDMI-A-1:1920x1080@60" + "radeon.si_support=0" + "radeon.cik_support=0" + "amdgpu.si_support=1" + "amdgpu.cik_support=1" ]; boot.extraModulePackages = [ ]; boot.kernelParams = [ -- cgit v1.2.3-70-g09d2