Merge pull request #236900 from mweinelt/go2rtc-video-group
nixos/go2rtc: add support for v4l2 video sources
This commit is contained in:
commit
e3f7ddd455
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue