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

View File

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

View File

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

View File

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

10
v4l2loopback.nix Normal file
View File

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