summary refs log tree commit diff
path: root/machines/fourmi/devices.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-04-29 23:20:43 +0200
committerMel <mel@rnrd.eu>2025-04-29 23:20:43 +0200
commitcf7ae731dae29dcf54bf5eb25769a315c6b9a737 (patch)
treed4d0e2ca80b5f120eb3d49dd68f161685cc430c4 /machines/fourmi/devices.nix
parent15aed91a5979a4a27c4b0d343b92a7fd6dc9c21a (diff)
downloadnetwork-cf7ae731dae29dcf54bf5eb25769a315c6b9a737.tar.zst
network-cf7ae731dae29dcf54bf5eb25769a315c6b9a737.zip
Enable vc4 KVM driver for fourmi
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/fourmi/devices.nix')
-rw-r--r--machines/fourmi/devices.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/machines/fourmi/devices.nix b/machines/fourmi/devices.nix
index b255db0..87f8728 100644
--- a/machines/fourmi/devices.nix
+++ b/machines/fourmi/devices.nix
@@ -34,10 +34,13 @@
 
   # apply rpi4-specific device tree from nixos-hardware.
   hardware = {
-    raspberry-pi."4".apply-overlays-dtmerge.enable = true;
+    raspberry-pi."4" = {
+      apply-overlays-dtmerge.enable = true;
+      fkms-3d.enable = true;
+    };
     deviceTree = {
       enable = true;
-      filter = "*rpi-4-*.dtb";
+      filter = "bcm2711-rpi-4*.dtb";
     };
   };