adds udiskie and mpv config
This commit is contained in:
parent
d86a2dc226
commit
65df2a7c26
3 changed files with 39 additions and 1 deletions
25
modules/mpv/default.nix
Normal file
25
modules/mpv/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
package = (
|
||||
pkgs.mpv-unwrapped.wrapper {
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
uosc
|
||||
sponsorblock
|
||||
mpris
|
||||
mpv-notify-send
|
||||
];
|
||||
|
||||
mpv = pkgs.mpv-unwrapped.override {
|
||||
waylandSupport = true;
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
config = {
|
||||
profile = "high-quality";
|
||||
ytdl-format = "bestvideo+bestaudio";
|
||||
cache-default = 4000000;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue