Files
surface-go2-kernel-build/custom-kernel.nix
Loosetooth 564a7994d8
Some checks failed
Build Custom Kernel / build-kernel (push) Has been cancelled
add cameras patch
2024-12-19 19:03:38 +01:00

24 lines
582 B
Nix

{ config, pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelPatches = [
{
name = "enable-ov5693";
patch = null;
extraConfig = ''
MEDIA_SUPPORT y
VIDEO_DEV y
VIDEO_CAMERA_SENSOR y
VIDEO_OV5693 y
'';
}
# cameras patch from linux-surface
{
name = "cameras-patch";
patch = null;
url = "https://github.com/linux-surface/linux-surface/raw/master/patches/6.12/0012-cameras.patch";
sha256 = "sha256-0759cl1xq3jdq6hd97y8gx8671g0y899b7azv623bzxjf1jz40ng";
}
];
}