major refactor and reorg
This commit is contained in:
parent
0a9342ea3e
commit
332b345753
11 changed files with 290 additions and 78 deletions
23
modules/home/mpv.nix
Normal file
23
modules/home/mpv.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue