Commit graph

299 commits

Author SHA1 Message Date
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
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
Felix Buehler 9262fc48f9 nixos/mopidy: use lib.getExe 2024-11-24 12:05:41 +01:00
Felix Buehler fba9ba64b3 nixos/mopidy: remove "with" statment 2024-11-24 12:03:03 +01:00
Jordan Williams 7031d0fdd0
nixos/snapserver: restart the systemd service on failure 2024-11-19 06:52:11 -06:00
Felix Bühler 8a95f3f42b
nixos/mopidy: fix Python dependency collisions between extensions (#354069) 2024-11-16 00:59:30 +01:00
Jordan Williams fcd89e06e3
nixos/snapserver: add package option 2024-11-06 14:51:15 -06:00
Jordan Williams 45b28d976f
nixos/mopidy: fix Python dependency collisions between extensions
Fixes #297539.
2024-11-06 13:42:38 -06:00
Aleksana 87360536b4
nixos/jack: Fix jack-session init script (#329784) 2024-10-29 12:26:57 +08:00
ettom 4a9538bdbf nixos/snapserver: default http.docRoot to snapweb 2024-10-09 21:45:45 +03:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Philip Taron 48d6e1118b
nixos/services.snapserver: fix regression introduced in #339099 by renaming local function 2024-09-24 09:08:43 -07:00
Felix Bühler 3884721bad
nixos/services.mpd: remove with lib; (#339100) 2024-09-11 17:22:14 +02:00
Felix Buehler 674e5ad68a nixos/services.mpd: remove with lib; 2024-09-10 21:40:16 +02:00
Felix Buehler 60e8c03c9b nixos/services.snapserver: remove with lib; 2024-09-02 22:25:44 +02:00
ettom 549912e6ff nixos/snapserver: add nss-lookup.target dependency 2024-08-25 23:46:52 +02:00
ettom 75682f11c6 nixos/snapserver: Fix per-stream sampleFormat/codec opts 2024-08-11 18:32:06 +02:00
Erno Hopearuoho eb8268e6cb goxlr-utility: 1.1.1 -> 1.1.1-unstable-2024-08-06
fixes #331319 where user expects xdg desktop entry to continue work as a launcher
hopefully also helps with #332957
2024-08-08 14:20:38 +03:00
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Nicolas Gariepy 5d1063c439 nixos/jack: Fix jack-session init script
The path of the jack_wait executable in the jack-session script was
not a store path for no apparent reason.
2024-07-24 22:11:02 -04:00
Martin Weinelt 76442766ea
nixos/music-assistant: init 2024-07-17 22:29:38 +02:00
K900 c3391ff001 nixos-alsa: remove with lib;, fix undefined references 2024-07-15 10:33:34 +03:00
K900 3eeff54780 nixos/alsa: kill sound.enable and friends with fire 2024-07-13 13:56:18 +03:00
nuko 40916ded4a
maintainers: rename nu-nu-ko to fsnkty 2024-06-15 14:21:38 +12:00
robin 4b0fd37990
nixos/alsa: fix audio state loading on system start 2024-05-31 11:55:11 +02:00
Sandro Jäckel b064e2db69
nixos/mopidy: add wants network-online.target to fix warning 2024-05-25 00:43:18 +02:00
sohalt 66dce47853 nixos/navidrome: support dns through systemd-resolved 2024-05-22 22:39:47 -04:00
Martin Weinelt 98d2dbc78d
Merge pull request #312591 from r-ryantm/auto-update/navidrome
navidrome: 0.52.0 -> 0.52.5
2024-05-21 21:43:12 +02:00
Martin Weinelt 90916525a6
nixos/navidrome: set empty settings default
This will not affect the options, but allows to not configure settings at
all, if you don't need to. Unbreaks the NixOS test, which relies on this
behavior.

Fixes: #312757
2024-05-21 21:23:35 +02:00
éclairevoyant a74fd69291
nixos/navidrome: run nixfmt-rfc-style 2024-05-18 19:32:19 -04:00