aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-11-16 17:57:54 -0500
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-11-16 17:57:54 -0500
commit894e9df970050186078a08f6e2a6c405a18a9875 (patch)
tree524a1997903b81f6d4a179ebb5307bdbc0dff0b0
parent64991dd740175388662c45674bc65a4aa6a1d538 (diff)
downloadhome-894e9df970050186078a08f6e2a6c405a18a9875.tar.gz
{form,fw}: gpu changes
-rw-r--r--form/configuration.nix1
-rw-r--r--fw/configuration.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/form/configuration.nix b/form/configuration.nix
index 8f1be1b..f6347c7 100644
--- a/form/configuration.nix
+++ b/form/configuration.nix
@@ -22,6 +22,7 @@
system.stateVersion = "24.11";
hardware.graphics.enable = true;
+ hardware.graphics.enable32bit = true;
boot.initrd.kernelModules = [
"nvidia"
"nvidia_uvm"
diff --git a/fw/configuration.nix b/fw/configuration.nix
index 3fd8ba2..610f3e9 100644
--- a/fw/configuration.nix
+++ b/fw/configuration.nix
@@ -49,6 +49,16 @@
"video"
]; # TODO: remove
+ hardware.graphics = {
+ enable = true;
+ enable32Bit = true;
+ extraPackages = with pkgs; [
+ rocmPackages.clr.icd
+ ];
+ };
+
+ hardware.amdgpu.opencl.enable = true;
+
environment.gnome.excludePackages = with pkgs; [
gnome-photos
geary