Loading nixos/modules/services/video/frigate.nix +15 −2 Original line number Diff line number Diff line Loading @@ -322,6 +322,16 @@ in ''; }; systemd.services.nginx.serviceConfig.SupplementaryGroups = [ "frigate" ]; users.users.frigate = { isSystemUser = true; group = "frigate"; }; users.groups.frigate = {}; systemd.services.frigate = { after = [ "go2rtc.service" Loading Loading @@ -349,15 +359,18 @@ in serviceConfig = { ExecStart = "${cfg.package.python.interpreter} -m frigate"; DynamicUser = true; User = "frigate"; Group = "frigate"; UMask = "0027"; StateDirectory = "frigate"; UMask = "0077"; StateDirectoryMode = "0750"; # Caches PrivateTmp = true; CacheDirectory = "frigate"; CacheDirectoryMode = "0750"; BindPaths = [ "/migrations:${cfg.package}/share/frigate/migrations:ro" Loading Loading
nixos/modules/services/video/frigate.nix +15 −2 Original line number Diff line number Diff line Loading @@ -322,6 +322,16 @@ in ''; }; systemd.services.nginx.serviceConfig.SupplementaryGroups = [ "frigate" ]; users.users.frigate = { isSystemUser = true; group = "frigate"; }; users.groups.frigate = {}; systemd.services.frigate = { after = [ "go2rtc.service" Loading Loading @@ -349,15 +359,18 @@ in serviceConfig = { ExecStart = "${cfg.package.python.interpreter} -m frigate"; DynamicUser = true; User = "frigate"; Group = "frigate"; UMask = "0027"; StateDirectory = "frigate"; UMask = "0077"; StateDirectoryMode = "0750"; # Caches PrivateTmp = true; CacheDirectory = "frigate"; CacheDirectoryMode = "0750"; BindPaths = [ "/migrations:${cfg.package}/share/frigate/migrations:ro" Loading