From 35738c49bd3e6683a439e97965a035a15ffe196e Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Sun, 9 Feb 2025 12:35:48 +0300 Subject: [PATCH] feat(home): add mpv config --- modules/home-config.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/modules/home-config.nix b/modules/home-config.nix index d541930..c71b13e 100644 --- a/modules/home-config.nix +++ b/modules/home-config.nix @@ -230,7 +230,29 @@ in core.fileMode = false; }; }; + mpv = { + enable = true; + package = ( + pkgs.mpv-unwrapped.wrapper { + scripts = with pkgs.mpvScripts; [ + mpris + sponsorblock + thumbfast + uosc + visualizer + ]; + mpv = pkgs.mpv-unwrapped.override { + waylandSupport = true; + }; + } + ); + + config = { + profile = "high-quality"; + ytdl-format = "bestvideo+bestaudio"; + }; + }; neovim = { defaultEditor = true; viAlias = true;