diff --git a/configurations/profile/common/packages/default.nix b/configurations/profile/common/packages/default.nix index ebe9a9a..5919b2b 100644 --- a/configurations/profile/common/packages/default.nix +++ b/configurations/profile/common/packages/default.nix @@ -32,7 +32,6 @@ with materusArg.pkgs.lib; options.materus.profile.packages.list.desktopApps = mkPrivateVar (with pkgs; [ (discord.override { nss = nss_latest; withOpenASAR = true; withTTS = true; }) tdesktop - mpv syncplay ani-cli nextcloud-client diff --git a/configurations/profile/home/default.nix b/configurations/profile/home/default.nix index fdbb360..78ec56f 100644 --- a/configurations/profile/home/default.nix +++ b/configurations/profile/home/default.nix @@ -27,6 +27,22 @@ in (if cfg.enableTerminal then packages.list.terminalApps else [ ]); #Desktop 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 programs.git = {