mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 23:19:47 +01:00
2c0e3f61da
Closes issue #1725. This allows mpv module to be customized with support for more advanced features than the `programs.mpv.scripts` current support. For example, with this change now this is possible: ```nix { programs.mpv.package = (pkgs.wrapMpv (pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }) { extraMakeWrapperArgs = [ "--prefix" "LD_LIBRARY_PATH" ":" "${pkgs.vapoursynth-mvtools}/lib/vapoursynth" ]; }); } ``` Since `programs.mpv.package` doesn't necessary reflect the final derivation anymore (see #1524), we introduce `programs.mpv.finalPackage` that has the resulting derivation. This includes 2 tests: - One to check if everything is alright with mpv - Other to validate our assertion that package and scripts can't be passed both at the same time * docs: document recent mpv module changes * mpv: add thiagokokada as maintainer
13 lines
193 B
Text
13 lines
193 B
Text
profile=%6%gpu-hq
|
|
|
|
cache-default=%7%4000000
|
|
force-window=%3%yes
|
|
ytdl-format=%19%bestvideo+bestaudio
|
|
|
|
[fast]
|
|
vo=%5%vdpau
|
|
|
|
[protocol.dvd]
|
|
alang=%2%en
|
|
profile-desc=%26%profile for dvd:// streams
|
|
|