rpi3b+ changes

This commit is contained in:
Motiejus Jakštys 2023-08-15 16:20:41 +03:00
parent ffbd671868
commit 5c2e00d517

View File

@ -13,7 +13,7 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = ["usbhid"]; boot.initrd.availableKernelModules = ["usbhid"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835"];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelModules = []; boot.kernelModules = [];
boot.extraModulePackages = []; boot.extraModulePackages = [];
@ -74,6 +74,14 @@
boot.loader.grub.enable = false; boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true; boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.raspberryPi.firmwareConfig = ''
dtparam=audio=on
'';
environment.systemPackages = with pkgs; [
libraspberrypi
];
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;