{ 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"; } ]; }