Sapphire
ad583bb258
nixos/wivrn: Don't run service for system users
...
When using sddm, the service gets started as the sddm user when
the login screen appears, then is started again as your user after login
while the other is potentially still running. This causes the server
to exit with an 'Address already in use' error in the log.
2026-07-04 05:46:17 -05:00
Sapphire
1ef4468b7d
nixos/wivrn: Fix application starter
2026-06-23 19:58:04 -05:00
Marcel
3d38296a2f
nixos/motioneye: use ffmpeg-headless
2026-05-04 02:28:28 +02:00
nixpkgs-ci[bot] and GitHub
01ca72d322
Merge master into staging-next
2026-04-18 18:13:38 +00:00
Christoph Honal
6fa956a730
nixos/v4l2-relayd: Don't create dummy video device
2026-04-18 03:29:57 +02:00
nixpkgs-ci[bot] and GitHub
db616ba1b2
Merge master into staging-next
2026-04-09 18:22:15 +00:00
Martin Weinelt
50271477c4
nixos/frigate: set vod_hls_version
...
Nginx warned with the updated vod plugin:
> "vod_hls_version" must be at least 6 when "vod_hls_container_format" is fmp4
2026-04-09 17:56:37 +02:00
Randy Eckenrode
2a071a0471
Merge branch 'master' into staging-next
2026-04-07 21:13:06 -04:00
Sandro and GitHub
65dc67b5aa
motioneye: init at 0.43.1 ( #502230 )
2026-04-07 20:38:53 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤
a0d0b06495
treewide: fix typo of NPM → npm
2026-04-03 19:08:04 +07:00
dish
5b8c4fc509
nixos/wivrn: Fix module option being removed without new error
2026-04-01 14:07:32 -04:00
Sandro and GitHub
9c2164ec88
nixos/wivrn: add option for Steam support and fix wayvr ( #500189 )
2026-03-26 16:13:02 +00:00
Sandro and GitHub
3dcbff6147
nixos/wivrn: remove defaultRuntime ( #498724 )
2026-03-26 15:19:01 +00:00
Marcel
0283946b36
nixos/motioneye: init
2026-03-23 22:17:44 +01:00
David Wronek
ea40758e61
nixos/wivrn: add option for Steam support
...
Add a new `services.wivrn.steam.enable` option to let the user enable or
disable Steam support. This option is enabled by default to not break
existing setups.
Signed-off-by: David Wronek <david.wronek@mainlining.org >
2026-03-15 16:28:40 +01:00
Martin Weinelt
f37b8622ce
nixos/frigate: don't assume grep is on path
2026-03-11 22:26:11 +01:00
Sapphire
898febd83f
nixos/wivrn: remove defaultRuntime
...
This option shouldn't exist for WiVRn as it manages the active runtime itself.
It also causes apps that attempt to initialise OpenXR while WiVRn isn't running to hang.
2026-03-11 00:01:09 -05:00
Martin Weinelt
816af80754
frigate: 0.16.4 -> 0.17.0
...
https://github.com/blakeblackshear/frigate/releases/tag/v0.17.0
2026-02-28 00:53:36 +01:00
Martin Weinelt
c478678ced
nixos/frigate: fix IFD in libavformat soname version detection
...
The combination of creating an environment file in ExecStartPre= and
reading it in EnvironmentFile= works, but requires relaxing the existence
check on the environment file.
2026-02-27 02:38:49 +01:00
Martin Weinelt and GitHub
818ccee147
nixos/frigate: fix HTTP method allowed for WebRTC API ( #485969 )
2026-02-25 18:56:05 +00:00
Martin Weinelt and GitHub
2e3f7f8be6
nixos/frigate: set LIBAVFORMAT_VERSION_MAJOR ( #492023 )
2026-02-25 18:02:05 +00:00
Bakhtiyar Neyman and Claude Opus 4.6
f83cd5b0ac
nixos/frigate: use upstream grep command for LIBAVFORMAT_VERSION_MAJOR
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-24 23:20:34 -08:00
Martin Weinelt
4066e495b5
nixos/frigate: reduce visible process scope to cgroup
...
Frigate exposes process metrics using the psutil library and previously
saw all system processes. Reducing the scope to the unit cgroup mimics
the effects upstream gets via its OCI container usage.
2026-02-23 16:17:20 +01:00
fleaz
a4a20c3f23
nixos/frigate: Use find instead of rm for cleanup
...
rm can run into "Argument list too long" with many cache files
2026-02-22 23:39:36 +01:00
Bakhtiyar Neyman and Claude Opus 4.6
2e7ea69665
nixos/frigate: set LIBAVFORMAT_VERSION_MAJOR
...
Frigate uses this to select appropriate ffmpeg flags for compatibility.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 01:07:49 -08:00
PassiveLemon
a2b56160f3
nixos/wivrn: remove systemd flag
2026-02-08 14:29:04 -05:00
Samuel Holland
5d001855f1
nixos/frigate: fix HTTP method allowed for WebRTC API
...
The Frigate Home Assistant integration POSTs to this endpoint to start a
WebRTC session[1], so the allowed method should be POST, not GET. The
current configuration causes an HTTP 403 error when viewing a camera
stream in Home Assistant:
```
aiohttp.client_exceptions.ContentTypeError: 403, message='Attempt to decode JSON with unexpected mimetype: text/html', url='https://$HOSTNAME/api/go2rtc/webrtc?src=$CAMERA '
```
[1]: https://github.com/blakeblackshear/frigate-hass-integration/blob/v5.14.1/custom_components/frigate/camera.py#L575
2026-02-01 10:49:46 -06:00
Martin Weinelt and GitHub
3f87a5c5b9
nixos/frigate: Add preCheckConfig ( #433539 )
2025-12-13 12:17:12 +00:00
Sizhe Zhao
14105a5e86
nixos/wivrn: add firewalld files
2025-11-20 12:38:48 +08:00
Commentator2.0 and GitHub
ee911c1f6a
frigate: fix broken string escape
2025-11-08 20:01:04 +01:00
Niklas Hambüchen
37848f404b
nixos/frigate: Add comment to nginx general config referring to frigate
...
This way one can see which package/config it is that e.g. opens port
1935.
2025-11-07 16:46:43 +00:00
Tim Schumacher
c06ad375eb
android-udev-rules: drop
...
As of systemd 258 adb and fastboot connections are handled by a built-in
uaccess rule, so a dedicated package with hardcoded ID-based udev rules
is no longer needed.
Drop the android-udev-rules package and related mentions of the adbusers
group, which is also no longer used.
2025-10-22 00:13:25 +02:00
Martin Weinelt
6c4b180098
frigate: centralize the ffmpeg flavor selection in the module
...
In 0.16.0 frigate added a config option to pass an ffmpeg build for the
ffmpeg and ffprobe executables.
Previously we unconditionally patched in ffmpeg-headless, which has now
been changed to use the `ffmpeg.path` provided build, so that we don't
bloat the closure with multiple ffmpegs or don't require overriding the
package to select another version.
In contrast to the upstream configuration we only accept packages and not
the "default" string, because that would have complicated the logic
needlessly.
2025-08-29 15:45:50 +02:00
dish
970dcca69c
treewide: Fix links in module documentation
2025-08-25 12:55:11 -04:00
Martin Weinelt
932a20ef92
nixos/frigate: disable config check on ARM
...
The onnxruntime library triggers a coredump when
/sys/devices/system/cpu/{possible,present} are
missing on aarch64-linux.
2025-08-21 21:01:27 +02:00
Martin Weinelt
8e443984b6
frigate: 0.15.2 -> 0.16.0
...
https://github.com/blakeblackshear/frigate/releases/tag/v0.16.0
2025-08-21 21:01:26 +02:00
Andrew Marshall
b153fe260e
nixos/frigate: Add preCheckConfig
...
Without this, many use cases will fail due to missing env vars for
secrets. This is inspired by e.g. `networking.nftables.preCheckRuleset`.
2025-08-13 21:59:54 -04:00
PassiveLemon
b249b55a84
nixos/wivrn: update to support wivrn 25.8
2025-08-11 17:14:44 -04:00
Martin Weinelt
a0f387ae34
nixos/frigate: validate config at build time
...
Only in non-cross setups because we cannot infer the buildPackages
version of cfg.package when overridden.
2025-08-10 02:18:22 +02:00
Martin Weinelt and GitHub
09d976e1fb
nixos/frigate: don't clear model cache ( #427874 )
2025-07-25 18:41:35 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0
2025-07-24 13:55:40 +02:00
Martin Weinelt
cb4fd4e3ca
nixos/frigate: don't clear model cache
...
Upstream stores the model cache in the config directory, which is
unnecessarily messy. The cache directory is still the correct place for
these, since they can be pruned and redownloaded, we just don't want it
to happen on every restart.
Fixes : #427714
2025-07-23 23:27:46 +02:00
Joshua Manchester
4dbade0a18
nixos/broadcast-box: init
2025-06-04 22:29:58 +01:00
Martin Weinelt
a74a23885d
nixos/frigate: create model cache dir
...
In 0.15.1 frigate has a logic error that makes it not ensure the model
cache dir exists before using it.
A workaround has been committed for newer versions, so we can drop this
on the next release.
Fixes : #402813
2025-05-09 02:01:53 +02:00
Silvan Mosberger
374e6bcc40
treewide: Format all Nix files
...
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:
nix-build ci -A fmt.check
This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153 )
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166 ).
This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537 ).
Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase ).
If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/ ) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Martin Weinelt
5c3df8025f
frigate: 0.14.1 -> 0.15.0
...
https://github.com/blakeblackshear/frigate/releases/tag/v0.15.0
2025-03-04 08:02:02 +01:00
dish and Valentin Gagarin
e0de6da14a
nixos/wivrn: fix documentation link formatting
2025-02-12 21:03:21 +01:00
337c4cc7b0
nixos/mediamtx: restart service on failure ( #374588 )
...
Co-authored-by: Masum Reza <50095635+JohnRTitor@users.noreply.github.com >
2025-01-18 13:36:03 +05:30
piegames
603733851b
treewide: Fix incorrect string escapes
2025-01-07 19:49:28 +01:00
fleaz
3c30d8182e
nixos/frigate: Also listen on port 5000
...
Frigate wants to connect on 127.0.0.1:5000 for unauthenticated requests
by checking the request port. This adress is hardcoded in the source.
See https://github.com/NixOS/nixpkgs/issues/370349 for more details
2025-01-04 01:30:03 +01:00