profiles/gui: MPV additions

This commit is contained in:
kat witch 2021-04-21 22:44:44 +01:00
parent 4b9cd398fb
commit 184e3575b5
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, witch, ... }:
{
programs.mpv = {
@ -8,9 +8,40 @@
profile = "gpu-hq";
gpu-context = "wayland";
vo = "gpu";
volume-max = 200;
keep-open = true;
opengl-waitvsync = true;
hwdec = "auto";
demuxer-max-bytes = "2000MiB";
demuxer-max-back-bytes = "250MiB";
};
};
programs.syncplay = {
enable = false;
username = "kat";
defaultRoom = "lounge";
server = {
host = "sync.kittywit.ch";
password = witch.secrets.hosts.athame.syncplay.password;
};
# gui = false;
trustedDomains = [ "youtube.com" "youtu.be" "twitch.tv" "soundcloud.com" ];
config = {
client_settings = {
autoplayrequiresamefiles = false;
readyatstart = true;
pauseonleave = false;
rewindondesync = false;
rewindthreshold = 6.0;
fastforwardthreshold = 6.0;
unpauseaction = "Always";
};
gui = {
#autosavejoinstolist = false;
showdurationnotification = false;
chatoutputrelativefontsize = config.lib.gui.fontSize 13.0;
};
};
};
}