add v4l2loopback
This commit is contained in:
		
							parent
							
								
									47c12d1d0f
								
							
						
					
					
						commit
						0379f7e4e3
					
				@ -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
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										10
									
								
								v4l2loopback.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					{ config, pkgs, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot = {
 | 
				
			||||||
 | 
					    kernelModules = [ "v4l2loopback" ];
 | 
				
			||||||
 | 
					    extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user