summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-19 17:28:07 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-19 17:28:07 +0200
commit3b276530b697f750121b585169e90ca3d476fb0f (patch)
treec8d9c53a83d555a5b0b98519d6af5c55062c5bf9 /hosts
parent7579085c18af961d48dc7847f8a2630a5121f57e (diff)
change webtray input to stable
Diffstat (limited to 'hosts')
-rw-r--r--hosts/workstation/default.nix14
-rw-r--r--hosts/workstation/hardware.nix8
2 files changed, 21 insertions, 1 deletions
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 = [