major refactor and reorg

This commit is contained in:
Matt Nish-Lapidus 2025-02-05 00:50:55 -05:00
parent 0a9342ea3e
commit 332b345753
11 changed files with 290 additions and 78 deletions

23
modules/home/mpv.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs, ... }:
{
programs.mpv = {
enable = true;
package = (pkgs.mpv-unwrapped.wrapper {
scripts = with pkgs.mpvScripts; [
thumbfast
modernz
];
mpv = pkgs.mpv-unwrapped.override {
waylandSupport = true;
ffmpeg = pkgs.ffmpeg-full;
};
});
config = {
osc = "no";
profile = "high-quality";
ytdl-format = "bestvideo+bestaudio";
cache-default = 4000000;
};
};
}