Skip to content

Commit

Permalink
mpv: adapt for NixOS/nixpkgs#304349
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Jun 18, 2024
1 parent de75a72 commit 0581bfc
Showing 1 changed file with 41 additions and 42 deletions.
83 changes: 41 additions & 42 deletions modules/home/mpv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,48 +15,47 @@ in
config = mkIf cfg.enable {
programs.mpv = {
enable = true;
package =
pkgs.wrapMpv
(pkgs.mpv-unwrapped.override {
waylandSupport = true;
x11Support = false;
cddaSupport = false;
vulkanSupport = false;
drmSupport = false;
archiveSupport = false;
bluraySupport = false;
bs2bSupport = false;
cacaSupport = false;
cmsSupport = false;
dvdnavSupport = false;
dvbinSupport = false;
jackaudioSupport = false;
javascriptSupport = false;
libpngSupport = false;
openalSupport = false;
pulseSupport = false;
pipewireSupport = true;
rubberbandSupport = false;
screenSaverSupport = false;
sdl2Support = true;
sixelSupport = false;
speexSupport = false;
swiftSupport = false;
theoraSupport = false;
vaapiSupport = true;
vapoursynthSupport = false;
vdpauSupport = true;
xineramaSupport = false;
xvSupport = false;
zimgSupport = false;
})
{
scripts = with pkgs.mpvScripts; [
uosc
thumbfast
inhibit-gnome
];
};
package = pkgs.mpv-unwrapped.wrapper {
mpv = pkgs.mpv-unwrapped.override {
waylandSupport = true;
x11Support = false;
cddaSupport = false;
vulkanSupport = false;
drmSupport = false;
archiveSupport = false;
bluraySupport = false;
bs2bSupport = false;
cacaSupport = false;
cmsSupport = false;
dvdnavSupport = false;
dvbinSupport = false;
jackaudioSupport = false;
javascriptSupport = false;
libpngSupport = false;
openalSupport = false;
pulseSupport = false;
pipewireSupport = true;
rubberbandSupport = false;
screenSaverSupport = false;
sdl2Support = true;
sixelSupport = false;
speexSupport = false;
swiftSupport = false;
theoraSupport = false;
vaapiSupport = true;
vapoursynthSupport = false;
vdpauSupport = true;
xineramaSupport = false;
xvSupport = false;
zimgSupport = false;
};
scripts = with pkgs.mpvScripts; [
uosc
thumbfast
inhibit-gnome
];

};
config = {
autofit = "100%";
window-maximized = "yes";
Expand Down

0 comments on commit 0581bfc

Please sign in to comment.