From 5c2e00d517d91b081c94b1d01c1a3d74bacc6772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 15 Aug 2023 16:20:41 +0300 Subject: [PATCH] rpi3b+ changes --- hosts/vno1-rp3b/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index 3fa552d..dae1ff5 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -13,7 +13,7 @@ hardware.enableRedistributableFirmware = true; boot.initrd.availableKernelModules = ["usbhid"]; - boot.initrd.kernelModules = []; + boot.initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835"]; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelModules = []; boot.extraModulePackages = []; @@ -74,6 +74,14 @@ boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; + boot.loader.raspberryPi.firmwareConfig = '' + dtparam=audio=on + ''; + + environment.systemPackages = with pkgs; [ + libraspberrypi + ]; + security.rtkit.enable = true; services.pipewire = { enable = true;