Unverified Commit e3f7ddd4 authored by 0x4A6F's avatar 0x4A6F Committed by GitHub
Browse files

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

nixos/go2rtc: add support for v4l2 video sources
parents 2d58f0fe 0983c18e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -103,6 +103,10 @@ in
      serviceConfig = {
        DynamicUser = true;
        User = "go2rtc";
        SupplementaryGroups = [
          # for v4l2 devices
          "video"
        ];
        StateDirectory = "go2rtc";
        ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}";
      };