This commit is contained in:
Satria 2026-03-05 14:31:21 +07:00
commit 707f24ab0b
2 changed files with 12 additions and 0 deletions

View 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 ];
}

View file

@ -4,6 +4,7 @@
./misc/power-button.nix
./misc/cpu-freq.nix
./misc/tzupdate.nix
./misc/fakecam.nix
./core/hibernation.nix
./core/firmware.nix
./core/igpu.nix