change mpv config
This commit is contained in:
parent
1bb7e79dfa
commit
5dbd7a9c2d
@ -6,11 +6,15 @@ with deviceSpecific; {
|
||||
home-manager.users.alukard.programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
vo = "gpu";
|
||||
hwdec = if video == "nvidia" then
|
||||
"vdpau"
|
||||
else
|
||||
"vaapi";
|
||||
ytdl-format = if isLaptop then
|
||||
"bestvideo[height<=?1080]+bestaudio/best"
|
||||
else
|
||||
"bestvideo+bestaudio/best";
|
||||
# cache-default = 4000000;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user