add mpv video cutting script

This commit is contained in:
xunuwu 2024-09-03 21:34:39 +02:00
parent 9c9fb1ce72
commit 1f6108d409
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -1,4 +1,4 @@
{ {pkgs, ...}: {
programs.mpv = { programs.mpv = {
enable = true; enable = true;
config = { config = {
@ -29,5 +29,8 @@
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0"; user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0";
}; };
}; };
scripts = with pkgs.mpvScripts; [
cutter
];
}; };
} }