nix s9 camera

This commit is contained in:
2026-08-27 12:09:55 +09:00
parent 749410e032
commit 2cb7e76ca1
7 changed files with 30 additions and 0 deletions
@@ -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
'';
};
}
+2
View File
@@ -18,6 +18,7 @@
"https://ghostty.cachix.org"
"https://cache.numtide.com"
"https://codex-desktop-linux.cachix.org"
"https://cuda-maintainers.cachix.org"
];
extra-trusted-public-keys = [
@@ -29,6 +30,7 @@
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
"codex-desktop-linux.cachix.org-1:nX/xy6AdK9hQE24A8ALGjkCKj2ObFmcnemiL5Cid4nk="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
}