niksos/options/desktop/v4l2.nix

16 lines
276 B
Nix

{
config,
pkgs,
...
}: {
boot = {
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
kernelModules = [ "v4l2loopback" ];
};
environment.systemPackages = with pkgs; [
v4l-utils
];
}