mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
nix s9 camera
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
boot = {
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=42 card_label="LUMIX S9" exclusive_caps=1
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user