{ pkgs, ... }: { home.packages = with pkgs; [ yt-dlp streamlink curl ]; programs.mpv = { enable = true; scripts = with pkgs.mpvScripts; [ uosc thumbfast sponsorblock ]; config = { osc = false; border = false; ytdl-format = "bestvideo[height<=?1080]+bestaudio/best"; save-position-on-quit = true; }; scriptOpts.feeds = { youtube_csv = "~/nixos-config/dotfiles/mpv/youtube.csv"; twitch_csv = "~/nixos-config/dotfiles/mpv/twitch.csv"; key = "ctrl+h"; # twitch_live_check = "no"; }; }; # destination = relative à ~/.config ; source = ./feeds.lua dans ton dépôt xdg.configFile."mpv/scripts/feeds.lua".source = ../../../dotfiles/mpv/feeds.lua; }