diff --git a/README.org b/README.org index a711344..e2b1f36 100644 --- a/README.org +++ b/README.org @@ -676,11 +676,11 @@ This section is very much a work in progress. I have struggled to get this devic { config, pkgs, lib, inputs, ... }: { - imports = [ - inputs.nixos-hardware.nixosModules.raspberry-pi-4 - ]; + # imports = [ + # inputs.nixos-hardware.nixosModules.raspberry-pi-4 + # ]; - boot.kernelPackages = pkgs.linuxPackages_rpi4; + # boot.kernelPackages = pkgs.linuxPackages_rpi4; boot.tmpOnTmpfs = true; boot.initrd.availableKernelModules = [ "usbhid" "usb_storage" ]; boot.kernelParams = [ @@ -703,10 +703,13 @@ This section is very much a work in progress. I have struggled to get this devic ''; }; + # FIXME: Requires GPU support. + services.xserver.videoDrivers = [ "fbdev" ]; + sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true; - hardware.raspberry-pi."4".fkms-3d.enable = true; + # hardware.raspberry-pi."4".fkms-3d.enable = true; fileSystems = { "/" = { diff --git a/hosts/raspberry/hardware.nix b/hosts/raspberry/hardware.nix index 90a6b74..209043f 100644 --- a/hosts/raspberry/hardware.nix +++ b/hosts/raspberry/hardware.nix @@ -2,11 +2,11 @@ { config, pkgs, lib, inputs, ... }: { - imports = [ - inputs.nixos-hardware.nixosModules.raspberry-pi-4 - ]; + # imports = [ + # inputs.nixos-hardware.nixosModules.raspberry-pi-4 + # ]; - boot.kernelPackages = pkgs.linuxPackages_rpi4; + # boot.kernelPackages = pkgs.linuxPackages_rpi4; boot.tmpOnTmpfs = true; boot.initrd.availableKernelModules = [ "usbhid" "usb_storage" ]; boot.kernelParams = [ @@ -29,10 +29,13 @@ ''; }; + # FIXME: Requires GPU support. + services.xserver.videoDrivers = [ "fbdev" ]; + sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true; - hardware.raspberry-pi."4".fkms-3d.enable = true; + # hardware.raspberry-pi."4".fkms-3d.enable = true; fileSystems = { "/" = {