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 16, 2024
1 parent c3c93ab commit 8b11fa5
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions modules/home/mpv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ in
config = mkIf cfg.enable {
programs.mpv = {
enable = true;
package =
pkgs.wrapMpv
(pkgs.mpv-unwrapped.override {
package = pkgs.mpv-unwrapped.wrapper {
mpv = (
pkgs.mpv-unwrapped.override {
waylandSupport = true;
x11Support = false;
cddaSupport = false;
Expand Down Expand Up @@ -49,14 +49,15 @@ in
xineramaSupport = false;
xvSupport = false;
zimgSupport = false;
})
{
scripts = with pkgs.mpvScripts; [
uosc
thumbfast
inhibit-gnome
];
};
}
);
scripts = with pkgs.mpvScripts; [
uosc
thumbfast
inhibit-gnome
];

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

0 comments on commit 8b11fa5

Please sign in to comment.