Commit Graph

400 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
fe296c3ab4 Merge staging-next into staging 2026-08-17 12:07:48 +00:00
Stefan Frijters
0ac0d22c23 nixos/mpd: use structuredAttrs instead of passAsFile
In preparation for enabling structuredAttrs in writeTextFile

Tested via `nixosTests.mpd`
2026-08-16 15:32:46 +02:00
Maximilian Bosch
009945d81e nixos/mympd: rm MemoryDenyWriteExecute
This package has a direct dependency on pcre2. By removing the sealloc
allocator, which allows MemoryDenyWriteExecute, but is experimental and
not recommended for production, this option needs to be turned off
again.
2026-08-07 21:01:31 +02:00
Sandro Jäckel
59395418b0 nixos/music-assistant: use go-librespot for spotify_connect 2026-07-10 21:03:56 +02:00
Sandro Jäckel
44a1f74259 nixos/music-assistant: allow to access /proc/cpuinfo which is required for torch to function
Also to display a warning but that is not that important.
2026-06-29 17:39:32 +02:00
Sandro Jäckel
932c63b704 music-assistant: 2.8.7 -> 2.9.4
something tried to use sched_setscheduler on startup, so @resources must
be allowed. Could be torch but since that is a general requirement we
cannot make this conditional.

Changelog: https://github.com/music-assistant/server/releases/tag/2.9.0
Changelog: https://github.com/music-assistant/server/releases/tag/2.9.1
Changelog: https://github.com/music-assistant/server/releases/tag/2.9.2
Changelog: https://github.com/music-assistant/server/releases/tag/2.9.3
Changelog: https://github.com/music-assistant/server/releases/tag/2.9.4
Diff: https://github.com/music-assistant/server/compare/2.8.7...2.9.4
2026-06-29 17:39:32 +02:00
Sandro Jäckel
6d15905968 music-assistant: track builtin providers to provide a smoother out of the box experience
Also see https://github.com/music-assistant/models/blob/1.1.119/music_assistant_models/provider.py#L35
2026-06-29 17:39:32 +02:00
Martin Weinelt
4a5a56bca2 botamusique: drop
Upstream archived the repo mid-2024 and I killed my own instance because
it became unreliable. The NixOS test has also been failing for a while
now, so I conclude that nobody cares about this package any more.
2026-06-28 20:46:10 +02:00
sternenseemann
b14a5d3de3 gonic: Set PrivateTmp=true for new go-sqlite3 behavior (#530789) 2026-06-25 11:37:20 +00:00
Martin Weinelt
2f863ff3ea nixos/music-assistant: Add squeezelite/slimproto firewall ports (#521226) 2026-06-14 23:50:51 +00:00
Tim Hourigan
2f38420d34 nixos/music-assistant: Add squeezelite/slimproto firewall ports 2026-06-14 21:11:51 +01:00
Andreas Fuchs
b3b5f2033b gonic: Set PrivateTmp=true for new go-sqlite3 behavior
When running migrations, the go-sqlite3 library used in v0.22.0 will now open files with names like /tmp/1418313342.db; without a tmp directory, that fails and causes errors on startup of the gonic service.

Giving the unit a private /tmp directory fixes this issue.
2026-06-11 12:56:11 -04:00
Marie Ramlow
6b53fc13e3 nixos/music-assistant: disable MemoryDenyWriteExecute
MemoryDenyWriteExecute=true breaks pyopenssl's cffi calls, used in the remote access feature.

```
2026-05-24 17:32:58.344 ERROR (MainThread) [music_assistant] Error doing task: Task exception was never retrieved
Traceback (most recent call last):
  File "/nix/store/mmv9717wjskv3q5v4768dq0fq5hf4jry-python3.13-aiortc-1.14.0/lib/python3.13/site-packages/aiortc/rtcpeerconnection.py", line 1084, in __connect
    await dtlsTransport.start(self.__remoteDtls[self.__sctp])
  File "/nix/store/mmv9717wjskv3q5v4768dq0fq5hf4jry-python3.13-aiortc-1.14.0/lib/python3.13/site-packages/aiortc/rtcdtlstransport.py", line 518, in start
    self.__local_certificate._create_ssl_context(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        srtp_profiles=self._srtp_profiles
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/mmv9717wjskv3q5v4768dq0fq5hf4jry-python3.13-aiortc-1.14.0/lib/python3.13/site-packages/aiortc/rtcdtlstransport.py", line 198, in _create_ssl_context
    ctx.set_verify(
    ~~~~~~~~~~~~~~^
        SSL.VERIFY_PEER | SSL.VERIFY_FAIL_IF_NO_PEER_CERT, lambda *args: True
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/5kwsndvbzfj3dv4fwpdlgin42mgbd4xk-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py", line 867, in inner
    return f(self, *args, **kwargs)
  File "/nix/store/5kwsndvbzfj3dv4fwpdlgin42mgbd4xk-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py", line 1390, in set_verify
    self._verify_helper = _VerifyHelper(callback)
                          ~~~~~~~~~~~~~^^^^^^^^^^
  File "/nix/store/5kwsndvbzfj3dv4fwpdlgin42mgbd4xk-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py", line 527, in __init__
    self.callback = _ffi.callback(
                    ~~~~~~~~~~~~~^
        "int (*)(int, X509_STORE_CTX *)", wrapper
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
MemoryError: Cannot allocate write+execute memory for ffi.callback(). You might be running on a system that prevents this. For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks
```
2026-05-24 18:08:35 +02:00
Chris Moultrie
cf416b91bd nixos/navidrome: Default to plugins enabled
Matches the default configuration in Navidrome itself
2026-05-22 08:32:09 -04:00
Chris Moultrie
0541efdcf6 navidrome: add tebriel as maintainer 2026-05-07 09:21:16 -04:00
Chris Moultrie
57a56c30e0 navidromePlugins.listenbrainz-daily-playlist: init at 5.0.2 2026-05-07 09:21:15 -04:00
Chris Moultrie
68e6fb9603 navidrome: introduce plugin infrastructure 2026-05-07 09:21:08 -04:00
Michael Daniels
2e87c2f8f4 nixos/*: remove unused let bindings
Generated using deadnix (with some manual work); split from #514611.
2026-05-01 20:39:14 -04:00
Sandro
1476235ddb mopidy: add ffmpeg support (#468949) 2026-04-30 20:34:51 +00:00
Marcel
544b107998 nixos/mopidy: fix test 2026-04-30 22:25:26 +02:00
Sandro Jäckel
a783b32e07 nixos/music-assistant: fix spotify-connect missing librespot in PATH 2026-04-13 01:52:42 +02:00
Sandro Jäckel
442da807a1 nixos/music-assistant: also open firewall for avahi 2026-04-08 17:33:21 +02:00
Sandro Jäckel
c13975b5c8 nixos/music-assistant: open port for snapcast provider 2026-04-08 17:33:20 +02:00
Adam C. Stephens
67cff4ab78 nixos/squeezelite: add pulseaudio support and refresh options
Co-Authored-By: Edgar Vincent <e-v@posteo.net>
2026-04-03 00:05:09 -04:00
Sandro
277f8e1064 music-assistant: replace all pre-compiled binaries, music-assistant: bring back airplay support (#492341) 2026-03-26 22:54:45 +00:00
Sandro Jäckel
fbe6eb952a nixos/music-assistant: add openFirewall option
to open all required ports for airplay or sendspin as otherwise airplay
(raopcli) just coredumps.
2026-03-26 23:49:22 +01:00
Sandro Jäckel
5b65c02b1c music-assistant: bring back airplay support 2026-03-26 23:49:21 +01:00
Sandro Jäckel
7684cfcfee music-assistant: replace pre-compiled shairport-sync binaries 2026-03-01 00:37:06 +01:00
Sandro Jäckel
5238e27c7d nixos/music-assistant: use headless ffmpeg to reduce closure size 2026-02-27 03:28:07 +01:00
Silvan Mosberger
a100c64b4f nixos/mpd: add player permission setting (#485184) 2026-02-20 02:35:45 +00:00
Anthony
14f6e82d8f nixos/spotifyd: add package option (#487037) 2026-02-18 20:46:10 +00:00
Doron Behar
e1b4daab36 nixos/mpd: correctly handle null valued cfg.settings
Tested with:

```diff
diff --git a/nixos/tests/mpd.nix b/nixos/tests/mpd.nix
index 36337bfbb4de..980dcca9048d 100644
--- a/nixos/tests/mpd.nix
+++ b/nixos/tests/mpd.nix
@@ -63,6 +63,7 @@ in
           mpd = defaultMpdCfg // {
             settings = {
               bind_to_address = "any";
+              db_file = null;
               audio_output = [
                 {
                   type = "alsa";
```

Per https://github.com/NixOS/nixpkgs/pull/485884#issuecomment-3865647552
2026-02-08 00:56:43 +02:00
Martin Weinelt
0c3dbea486 nixos/mpd: allow setting null db_file (#485884) 2026-02-07 21:24:14 +00:00
azrdev
8cc95767a2 nixos/spotifyd: add package option
Spotify service changes frequently break spotifyd. Using newer releases
from upstream requires overlaying the module too, even though it rarely
changes package. This change should allow using newer spotifyd builds (e.g.
from nixos-unstable) without having to overlay the module in the current
(e.g. nixos stable) system.
2026-02-04 21:32:51 +01:00
Chris Moultrie
1e37efce36 navidrome: 0.59 -> 0.60
changelog: https://github.com/navidrome/navidrome/releases/tag/v0.60.0
2026-02-03 22:33:38 -05:00
Doron Behar
64c3b8942b nixos/mpd: allow setting null db_file
Fixes #485726 .
2026-02-02 08:53:21 +02:00
Doron Behar
eb6cee5bc1 nixos/mpd: allow setting null nonBlockSettings 2026-02-01 12:04:09 +02:00
Fenhl
c24f637cdf nixos/mpd: add player permission setting 2026-01-30 00:04:45 +00:00
Doron Behar
9638294b1d nixos/mpd: allow to explicitly close firewall without a warning
Fixes #484912 and addresses the comments here:

https://github.com/NixOS/nixpkgs/pull/456989#discussion_r2642740944
2026-01-29 14:20:48 +02:00
rnhmjoj
c64766acea nixos/alsa: add bluetooth support 2026-01-24 10:21:36 +01:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
NAHO
a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
Martin Weinelt
77b2f5d644 nixos/icecast: modernize and clean up 2026-01-03 11:03:53 +01:00
emilylange
77e0d5e300 music-assistant: 2.6.3 -> 2.7.2
https://www.home-assistant.io/blog/2025/12/17/music-assistant-2-7/

https://github.com/music-assistant/server/releases/tag/2.7.0

https://github.com/music-assistant/server/releases/tag/2.7.1

https://github.com/music-assistant/server/releases/tag/2.7.2

This update contains multiple breaking changes.
2025-12-21 23:01:39 +01:00
Martin Weinelt
f7a357351e nixos/botamusique: remove hexa from maintainers 2025-12-17 15:53:01 +01:00
Doron Behar
a045ccb799 nixos/mpd: don't raise openFirewall warning for bind_to_address sockets 2025-12-16 16:47:20 +02:00
Doron Behar
3248e17346 nixos/mpd: fix warning evaluation of bind_to_address 2025-12-16 10:19:08 +02:00
Doron Behar
86e14f6832 nixos/mpd: apply RFC 42 (#456989) 2025-12-15 14:26:09 +00:00
Martin Weinelt
84881aecea nixos/snapserver: migrate options per snapcast 0.33 changes 2025-12-11 17:50:06 +01:00
Aleksana
ef9c108ae8 nixos/pulseaudio: add tcp.{port,openFirewall} options (#466504) 2025-12-07 10:27:48 +00:00