diff --git a/pkgs/additional/linux-megous/default.nix b/pkgs/additional/linux-megous/default.nix index ac17d7cf..eab31a27 100644 --- a/pkgs/additional/linux-megous/default.nix +++ b/pkgs/additional/linux-megous/default.nix @@ -108,7 +108,13 @@ let RC_CORE = lib.mkForce module; DRM_KMS_HELPER = lib.mkForce module; # AGP = lib.mkForce no; # "Accelerated Graphics Port" (idk) - # + + # borrowed from postmarketOS, "to enable libcamera development" + DMABUF_HEAPS = yes; + DMABUF_HEAPS_CMA = yes; + # borrowed from postmarketOS, speculatively, as i debug megapixels camera + CMA_AREAS = freeform "7"; + # consider: `DMA_SUN6I = yes;` (instead of the default, module) ### RELEVANT CONFIGS INHERITED FROM NIXOS DEFAULTS (OR ABOVE ADDITIONS): # # CONFIG_BT=m