[NixOS] Try to fix raspberry pi
https://github.com/NixOS/nixos-hardware/issues/631
This commit is contained in:
parent
a4a67886f4
commit
bb5ef8544b
@ -1,12 +1,29 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
# https://github.com/NixOS/nixos-hardware/issues/631
|
||||||
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
# imports = [
|
||||||
];
|
# inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
||||||
|
# ];
|
||||||
|
# hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||||
|
# hardware.raspberry-pi."4".audio.enable = true;
|
||||||
|
|
||||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
boot = {
|
||||||
hardware.raspberry-pi."4".audio.enable = true;
|
initrd.availableKernelModules = [
|
||||||
|
"usbhid"
|
||||||
|
"usb_storage"
|
||||||
|
"vc4"
|
||||||
|
"pcie_brcmstb" # required for the pcie bus to work
|
||||||
|
"reset-raspberrypi" # required for vl805 firmware to load
|
||||||
|
];
|
||||||
|
|
||||||
|
loader = {
|
||||||
|
grub.enable = false;
|
||||||
|
generic-extlinux-compatible.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
boot.kernelParams = [ ];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user