configuration.nix
:
let v4l2loopback-dc = pkgs.callPackage ./v4l2loopback-dc.nix {
kernel = pkgs.linux_5_4;
};
droidcam = pkgs.callPackage ./droidcam.nix {};
in {
boot.kernelPackages = pkgs.linuxPackages_5_4;
boot.extraModulePackages = [ v4l2loopback-dc ];
environment.systemPackages = [ droidcam ];
}