Merge pull request #236900 from mweinelt/go2rtc-video-group

nixos/go2rtc: add support for v4l2 video sources
This commit is contained in:
0x4A6F 2023-06-09 23:54:28 +02:00 committed by GitHub
commit e3f7ddd455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,6 +103,10 @@ in
serviceConfig = {
DynamicUser = true;
User = "go2rtc";
SupplementaryGroups = [
# for v4l2 devices
"video"
];
StateDirectory = "go2rtc";
ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}";
};