about summary refs log tree commit diff
path: root/modules/mpv.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-19 13:51:20 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-19 13:51:20 +0300
commit9eb603b80a3d823acfc20c42f777ea26436ca137 (patch)
treea3038492f6525cf7672bb1fddb3293db0223967e /modules/mpv.nix
parent2024-06-05 (diff)
2024-06-19
Diffstat (limited to '')
-rw-r--r--modules/mpv.nix29
1 files changed, 11 insertions, 18 deletions
diff --git a/modules/mpv.nix b/modules/mpv.nix
index 9b26b08..90d46d9 100644
--- a/modules/mpv.nix
+++ b/modules/mpv.nix
@@ -99,22 +99,17 @@ in
     hm.programs.mpv = {
       enable = true;
 
-      package =
-        with pkgs;
-        wrapMpv
-          (mpv-unwrapped.override {
-            bs2bSupport = false;
-            cacaSupport = false;
-            dvbinSupport = false;
-            dvdnavSupport = false;
-            swiftSupport = false;
-          })
-          {
-            scripts = with mpvScripts; [
-              autoload
-              sponsorblock
-            ];
-          };
+      package = pkgs.mpv.override {
+        scripts = with pkgs.mpvScripts; [
+          autoload
+          mpv-cheatsheet
+          mpv-webm
+          sponsorblock
+          thumbfast
+          uosc
+          webtorrent-mpv-hook
+        ];
+      };
 
       bindings = {
         "RIGHT" = "seek 10";
@@ -206,8 +201,6 @@ in
           osd-level = 1;
           osd-shadow-color = "#33000000";
 
-          # osc = false;
-
           blend-subtitles = true;
           embeddedfonts = false;
           sub-ass-force-margins = true;

Consider giving Nix/NixOS a try! <3