configuration.nix
:
let v4l2loopback-dc = pkgs.callPackage ./v4l2loopback-dc.nix {
kernel = pkgs.linux_4_19;
};
droidcam = pkgs.callPackage ./droidcam.nix {};
in {
boot.kernelPackages = pkgs.linuxPackages_4_19;
boot.extraModulePackages = [ v4l2loopback-dc ];
environment.systemPackages = [ droidcam ];
}
Where exactly should I put in in configuration.nix?