common: mpv changes

This commit is contained in:
Mateusz Słodkowicz 2024-09-18 10:19:30 +02:00
parent 1f822e8211
commit 2e8ee98b26
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
2 changed files with 16 additions and 1 deletions

View File

@ -32,7 +32,6 @@ with materusArg.pkgs.lib;
options.materus.profile.packages.list.desktopApps = mkPrivateVar (with pkgs; [ options.materus.profile.packages.list.desktopApps = mkPrivateVar (with pkgs; [
(discord.override { nss = nss_latest; withOpenASAR = true; withTTS = true; }) (discord.override { nss = nss_latest; withOpenASAR = true; withTTS = true; })
tdesktop tdesktop
mpv
syncplay syncplay
ani-cli ani-cli
nextcloud-client nextcloud-client

View File

@ -27,6 +27,22 @@ in
(if cfg.enableTerminal then packages.list.terminalApps else [ ]); (if cfg.enableTerminal then packages.list.terminalApps else [ ]);
#Desktop #Desktop
programs.feh.enable = lib.mkDefault cfg.enableDesktop; programs.feh.enable = lib.mkDefault cfg.enableDesktop;
programs.mpv = lib.mkIf cfg.enableDesktop {
enable = true;
config = {
vo = "gpu-next";
profile="gpu-hq";
ytdl-format = "bestvideo+bestaudio";
slang="pl,pol,Polish,Polski,en,eng,English";
alang="ja,jp,jpn,Japanese,pl,pol,Polski,en,eng,English";
demuxer-max-bytes="500MiB";
demuxer-max-back-bytes="150MiB";
cache="yes";
cache-pause-wait="10";
cache-pause-initial="yes";
keep-open="yes";
};
};
#Terminal #Terminal
programs.git = { programs.git = {