{ pkgs, ... }:
{
  environment.systemPackages = [ pkgs.mpv pkgs.mpv-poll ];

  home-manager.users.me.xdg.configFile = {
    "mpv/input.conf".text = ''
      Alt+RIGHT add video-rotate 90
      Alt+LEFT add video-rotate -90
      Alt+- add video-zoom -0.25
      Alt+= add video-zoom 0.25
      Alt+l add video-pan-x -0.05
      Alt+h add video-pan-x 0.05
      Alt+k add video-pan-y 0.05
      Alt+j add video-pan-y -0.05
    '';
  };
}
