1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/services/desktops/pipewire
talyz 2a3c276b53
nixos/pipewire: Use formats.json, stricter typing, line breaks
The upstream pipewire config is written in an almost, but not quite
JSON format. The parser accepts standard JSON, though, so we don't
need to write our file in the same nonstandard version.

The typing for all config options is changed from `types.attrs`, which
behaves poorly when the option is set from multiple locations, to the
formats.json-type.

Also, rewrite some very long one-liners for improved readability.
2021-04-01 12:08:29 +02:00
..
alsa-monitor.conf.json pipewire: 0.3.22 -> 0.3.23 2021-03-05 00:41:02 +02:00
bluez-monitor.conf.json pipewire: 0.3.22 -> 0.3.23 2021-03-05 00:41:02 +02:00
client-rt.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
client.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
jack.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
media-session.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
pipewire-media-session.nix nixos/pipewire: Use formats.json, stricter typing, line breaks 2021-04-01 12:08:29 +02:00
pipewire-pulse.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
pipewire.conf.json pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
pipewire.nix nixos/pipewire: Use formats.json, stricter typing, line breaks 2021-04-01 12:08:29 +02:00
README.md pipewire: 0.3.23 -> 0.3.24 2021-03-19 05:14:44 +02:00
v4l2-monitor.conf.json pipewire: 0.3.22 -> 0.3.23 2021-03-05 00:41:02 +02:00

Updating

  1. Update the version & hash in pkgs/development/libraries/pipewire/default.nix
  2. run nix build -f /path/to/nixpkgs/checkout pipewire pipewire.mediaSession
  3. copy all JSON files from result/etc/pipewire and result-mediaSession/etc/pipewire/media-session.d to this directory
  4. add new files to the module config and passthru tests