From aa4381ecafaddfc062ed164533bb1d60814178f8 Mon Sep 17 00:00:00 2001 From: Redyf Date: Sat, 6 Jul 2024 23:32:20 -0300 Subject: [PATCH] fix: make gpu driver work https://github.com/NixOS/nixpkgs/issues/260754#issuecomment-1912908878 --- hosts/selene/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/selene/configuration.nix b/hosts/selene/configuration.nix index 11ea6c52..b43fd459 100644 --- a/hosts/selene/configuration.nix +++ b/hosts/selene/configuration.nix @@ -42,6 +42,14 @@ raspberry-pi = { config = { all = { + options = { + dt-overlays = { + vc4-kms-v3d-pi5 = { + enable = true; + params = {}; + }; + }; + }; base-dt-params = { # enable autoprobing of bluetooth driver # https://github.com/raspberrypi/linux/blob/c8c99191e1419062ac8b668956d19e788865912a/arch/arm/boot/dts/overlays/README#L222-L224