add v4l2loopback

This commit is contained in:
Gabriel Ebner 2020-11-12 14:19:09 +01:00
parent 47c12d1d0f
commit 0379f7e4e3
4 changed files with 13 additions and 0 deletions

@ -11,6 +11,7 @@
./fstrim.nix ./fstrim.nix
./qemu-user.nix ./qemu-user.nix
./atmega.nix ./atmega.nix
./v4l2loopback.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''

@ -9,6 +9,7 @@
./uefi.nix ./uefi.nix
./fstrim.nix ./fstrim.nix
./atmega.nix ./atmega.nix
./v4l2loopack.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''

@ -9,6 +9,7 @@
./uefi.nix ./uefi.nix
./fstrim.nix ./fstrim.nix
./atmega.nix ./atmega.nix
./v4l2loopback.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''

10
v4l2loopback.nix Normal file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
boot = {
kernelModules = [ "v4l2loopback" ];
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
};
}