From 2b15b48678c2b848e1b11c7098d456b1880cd637 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 19 May 2023 11:42:24 +0200 Subject: [PATCH] desktop: enable/add opencl/rocm --- modules/desktop/sway/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/desktop/sway/default.nix b/modules/desktop/sway/default.nix index 404d4dd..0018c15 100644 --- a/modules/desktop/sway/default.nix +++ b/modules/desktop/sway/default.nix @@ -18,6 +18,8 @@ hardware.opengl = { enable = true; + driSupport = true; + driSupport32Bit = true; }; environment = { @@ -35,6 +37,9 @@ grim bemenu lxqt.lxqt-openssh-askpass + rocm-opencl-icd + rocm-opencl-runtime + clinfo ]; };