Added MPV
This commit is contained in:
parent
0bf5af8da2
commit
caa5d90b82
2 changed files with 25 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
|||
../shared/aerc.nix
|
||||
../shared/rbw.nix
|
||||
../shared/oh-my-posh.nix
|
||||
../shared/mpv.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
@ -51,7 +52,6 @@
|
|||
alsa-utils
|
||||
killall
|
||||
upower
|
||||
mpv
|
||||
gcc
|
||||
gnumake
|
||||
htop
|
||||
|
|
24
shared/mpv.nix
Normal file
24
shared/mpv.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, lib, myhostname, ... }:
|
||||
{
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
|
||||
package = (
|
||||
pkgs.mpv-unwrapped.wrapper {
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
uosc
|
||||
sponsorblock
|
||||
];
|
||||
|
||||
mpv = pkgs.mpv-unwrapped.override {
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
config = {
|
||||
profile = "high-quality";
|
||||
ytdl-format = "bestvideo+bestaudio";
|
||||
cache-default = 4000000;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue