From 798b114b1dfba9add491352a9d40b0706a041b52 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 22 Aug 2020 14:42:24 +0200 Subject: [PATCH] Add opencl support. --- archachatina.nix | 5 +++++ common-sw.nix | 2 ++ 2 files changed, 7 insertions(+) diff --git a/archachatina.nix b/archachatina.nix index 1540d4a..e2327fe 100644 --- a/archachatina.nix +++ b/archachatina.nix @@ -74,6 +74,11 @@ hardware.opengl.driSupport32Bit = true; + hardware.opengl.extraPackages = with pkgs; [ + rocm-opencl-icd + rocm-runtime-ext + ]; + services.nix-serve = { enable = true; secretKeyFile = "/etc/nix-serve/secret.key"; diff --git a/common-sw.nix b/common-sw.nix index 4a1b25e..4eb473b 100644 --- a/common-sw.nix +++ b/common-sw.nix @@ -35,6 +35,8 @@ alacritty + clinfo + lm_sensors hdparm smartmontools