nixos/go2rtc: add support for v4l2 video sources
Capturing from /dev/video* requires being member of the video group.
This commit is contained in:
parent
ba0f52d803
commit
0983c18e6a
@ -103,6 +103,10 @@ in
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
User = "go2rtc";
|
||||
SupplementaryGroups = [
|
||||
# for v4l2 devices
|
||||
"video"
|
||||
];
|
||||
StateDirectory = "go2rtc";
|
||||
ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user