diff --git a/nixos/modules/services/video/go2rtc/default.nix b/nixos/modules/services/video/go2rtc/default.nix index 45506d551f1c..1151d31b68e6 100644 --- a/nixos/modules/services/video/go2rtc/default.nix +++ b/nixos/modules/services/video/go2rtc/default.nix @@ -103,6 +103,10 @@ in serviceConfig = { DynamicUser = true; User = "go2rtc"; + SupplementaryGroups = [ + # for v4l2 devices + "video" + ]; StateDirectory = "go2rtc"; ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}"; };