summaryrefslogtreecommitdiff
path: root/hosts/workstation/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/workstation/default.nix')
-rw-r--r--hosts/workstation/default.nix14
1 files changed, 13 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";
}