Skip to content

Commit

Permalink
rp3: camera groundwork
Browse files Browse the repository at this point in the history
Install libcamera and switch to the only supported boot mode.
  • Loading branch information
wagdav committed Nov 25, 2023
1 parent d27c626 commit 552ec61
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions hardware/rp3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ in

boot = {
initrd.kernelModules = [ "vc4" "bcm2835_dma" "i2c_bcm2835" ];
kernelModules = [ "bcm2835-v4l2" ];
loader = {
grub.enable = false;

raspberryPi = {
enable = true;
uboot.enable = true;
version = 3;
};
generic-extlinux-compatible.enable = true;
};
};

Expand All @@ -32,6 +28,7 @@ in
hardware.enableRedistributableFirmware = true;

environment.systemPackages = with pkgs; [
libcamera
libraspberrypi
];

Expand Down

0 comments on commit 552ec61

Please sign in to comment.