mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #236900 from mweinelt/go2rtc-video-group
nixos/go2rtc: add support for v4l2 video sources
This commit is contained in:
commit
e3f7ddd455
@ -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