Commit graph

327 commits

Author SHA1 Message Date
h7x4 271514bd18
nixos/mpdscribble: lib.any -> lib.elem 2025-10-26 15:31:37 +09:00
Martin Weinelt 41686edb04
music-assistant: build librespot fork (#447147) 2025-10-07 20:53:46 +00:00
sweenu 4e23b4365f
music-assistant: use librespot-ma as spotify provider 2025-10-07 22:11:10 +02:00
Wolfgang Walther 91a8fee3aa
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Sandro 70f8cfe455
mopidy: migrate to rfc42 (#446598) 2025-10-04 02:00:13 +00:00
Marcel 87897caee2
mopidy: migrate to rfc42 2025-10-03 12:56:46 +02:00
Martin Weinelt d3cd6a18a4
nixos/music-assistant: librespot -> spotify (#444238) 2025-09-19 11:26:13 +00:00
sweenu bcaa25786a
nixos/music-assistant: librespot -> spotify 2025-09-19 08:36:23 +02:00
Martin Weinelt af89f21de9
nixos/snapserver: fix default http port
This was missed in the prior review and overlaps with the TCP port.
2025-09-18 16:02:39 +02:00
Martin Weinelt 6d2ea675c3
nixos/snapserver: migrate to settings option
Replaces the complex commandline templating with a structured freeform
settings type, that renders out in the ini format while converting lists
to multiple key-value pairs.
2025-09-09 02:15:53 +02:00
dish 970dcca69c
treewide: Fix links in module documentation 2025-08-25 12:55:11 -04:00
Ladas552 63d5e1a524 nixos/mympd: new documentation links 2025-08-23 13:04:32 +05:00
Martin Weinelt 9cc767c060
music-assistant: 2.5.5 -> 2.5.8
https://github.com/music-assistant/server/releases/tag/2.5.8

- Pass librespot and snapserver dependency via PATH
- Add EXTRA_DEPS for runtime deps not mentioned in manifest
2025-08-21 01:33:48 +02:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Evan Scamehorn a4e1ad5521
nixos/spotifyd: Fix 404 URLs (#408504) 2025-05-21 14:45:12 +08:00
Martin Weinelt 8fc7c1593d
nixos/music-assistant: wait for network-online.target
This is required because the server fails to start when it cannot find
a route to send out mDNS packets.
2025-05-13 00:55:12 +02:00
nanoyaki 8204df50e6 nixos/lavalink: init 2025-04-08 20:40:15 +02:00
Gaétan Lepage d433b18c1f
navidrome: create music folder with systemd.tmpfiles (#385295) 2025-04-06 10:56:20 +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](8616af08d9/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
Charlie Egan 20c9782e2f nixos/navidrome: Add environmentFile config option
This is intended to be used to set secret environment variables for
navidrome, such as ListenBrainz/LastFM API keys.

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
2025-03-19 09:51:42 +00:00
Chris Moultrie 2a574e25f1
navidrome: create music folder with systemd.tmpfiles 2025-03-11 15:41:17 -04:00
shelvacu 1a4575f9db
nixos/modules: Add security.pki.caBundle option and make all services use it for CA bundles (#352244)
Previously some modules used `config.environment.etc."ssl/certs/ca-certificates.crt".source`, some used `"/etc/ssl/certs/ca-certificates.crt"`, and some used `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"`. These were all bad in one way or another:

- `config.environment.etc."ssl/certs/ca-certificates.crt".source` relies on `source` being set; if `text` is set instead this breaks, introducing a weird undocumented requirement
- `"/etc/ssl/certs/ca-certificates.crt"` is probably okay but very un-nix. It's a magic string, and the path doesn't change when the file changes (and so you can't trigger service reloads, for example, when the contents change in a new system activation)
- `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"` silently doesn't include the options from `security.pki`

Co-authored-by: Shelvacu <git@shelvacu.com>
2025-03-08 08:41:08 +00:00
Gerardo Doro b0be6e4dd9
nixos/gonic: moving podcast-path from RO to RW 2025-02-14 13:43:11 +01:00
rnhmjoj 4843518a99
nixos/alsa: reintroduce hardware.alsa.enablePersistence 2025-01-13 19:58:43 +01:00
Michele Guerini Rocco d575340ffb
nixos/alsa: rebirth from the ashes (#337345) 2025-01-06 11:08:25 +01:00
squalus 19705d04f1 navidrome: 0.53.3 -> 0.54.3
- Update to 0.54.3
- Add netgo tag required for build (https://github.com/navidrome/navidrome/issues/700)
- Add patchShebangs step for a script called by UI build
- Add settings option for telemetry

0.54.1 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.1
0.54.2 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.2
0.54.3 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.3

Fixes CVE-2024-56362
2025-01-01 08:10:37 -08:00
nicoo 238b407862
nixos: hardware.pulseaudio → services.pulseaudio (#369391) 2024-12-30 13:46:50 +00:00
Jean-Baptiste Giraudeau 7ebb6132f4 nixos/tts: fix handling of extraArgs 2024-12-22 10:27:04 +01:00
rnhmjoj b0ee109529
nixos/alsa: add rnhmjoj as maintainer 2024-12-13 13:29:14 +01:00
rnhmjoj c8a84a01d5
nixos/alsa: rebirth from the ashes
The ALSA module was essentially removed in 3eeff547, with the main
motivation of avoiding confusion as to what `sound.enable` really meant.

As that could be achieved with a simple rename, this change brings back
the module in full force under the `hardware.alsa` namespace (with clear
beware signs for the pulse and pipewire folks) and adds a lot of useful
extra features. These include

 - `defaultDevice` to set the default playback and capture devices

 - `cardAliases`,`deviceAliases` to assign meaningful names to sound cards
   and devices (instead of say, `hw:0,1`)

 - `controls` to create virtual volume controls

 - `enableRecorder` to easily configure a loopback device to record
   the computer audio

 - fixes to the udev restore rules
2024-12-13 13:29:13 +01:00
Arne Keller 6f44e1219f
nixos/navidrome: support dns through systemd-resolved (#290901) 2024-12-13 10:46:47 +01:00
Leah Amelia Chen 68891efe67
marytts: init at 5.2.1-unstable-2024-10-09, nixos/marytts: init (#351933)
* marytts: init at 5.2.1-unstable-2024-10-09

* nixos/marytts: init module

* nixos/marytts: add tests
2024-12-12 00:12:54 -05:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Felix Buehler f600d6a3b1 nixos/services.ympd: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler 9d80afc3c4 nixos/services.spotifyd: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler f6a10dfc09 nixos/services.slimserver: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler ecb168c8d7 nixos/services.roon-server: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler 794d3952b0 nixos/services.roon-bridge: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler bde5fcc9b8 nixos/services.networkaudiod: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler b477479cb7 nixos/services.mpdscribble: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler de5c62db29 nixos/services.liquidsoap: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler f645147c7e nixos/services.jmusicbot: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler 291d92e529 nixos/services.jack: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler e8fa5a92e9 nixos/services.icecast: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler 1d19c390cf nixos/services.hqplayerd: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler dfd031a486 nixos/services.goxlr-utility: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler 496d11787d nixos/services.gonic: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler cab8ab375c nixos/services.gmediarender: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler c62a55f1b6 nixos/services.botamusique: remove with lib; 2024-11-27 22:26:57 +01:00
Jordan Williams 90dfafee35
nixos/mopidy: restart the systemd service on failure
This ensures Mopidy is running, even after crashes.
2024-11-26 16:30:56 -06:00