fakecam
This commit is contained in:
parent
5a689decf3
commit
707f24ab0b
2 changed files with 12 additions and 0 deletions
11
modules/hardware/misc/fakecam.nix
Normal file
11
modules/hardware/misc/fakecam.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, config, ... }: {
|
||||||
|
boot = {
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
|
kernelModules = [ "v4l2loopback" ];
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.v4l-utils ];
|
||||||
|
}
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
./misc/power-button.nix
|
./misc/power-button.nix
|
||||||
./misc/cpu-freq.nix
|
./misc/cpu-freq.nix
|
||||||
./misc/tzupdate.nix
|
./misc/tzupdate.nix
|
||||||
|
./misc/fakecam.nix
|
||||||
./core/hibernation.nix
|
./core/hibernation.nix
|
||||||
./core/firmware.nix
|
./core/firmware.nix
|
||||||
./core/igpu.nix
|
./core/igpu.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue