2022-02-02 15:49:09 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
home.packages = with pkgs; [ mpv ffmpeg yt-dlp ];
|
|
|
|
programs.mpv = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
"script-opts" = "ytdl_hook-ytdl_path=${pkgs.yt-dlp}/bin/yt-dlp";
|
|
|
|
};
|
|
|
|
};
|
2022-02-08 11:30:06 +00:00
|
|
|
programs.zsh.shellAliases.listen = "${pkgs.mpv}/bin/mpv \"https://music:$(cat /secrets/music-stream-password)@stream.owo.monster/flac\" --cache=yes --cache-pause-initial=yes --cache-pause-wait=5";
|
2022-02-02 15:49:09 +00:00
|
|
|
}
|