niksos/options/desktop/v4l2.nix

17 lines
276 B
Nix
Raw Normal View History

2024-05-08 19:47:57 +02:00
{
config,
2024-05-08 19:49:20 +02:00
pkgs,
2024-05-08 19:47:57 +02:00
...
}: {
boot = {
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
kernelModules = [ "v4l2loopback" ];
};
2024-05-08 19:49:20 +02:00
environment.systemPackages = with pkgs; [
v4l-utils
];
2024-05-08 19:47:57 +02:00
}