From 6aaa5993e4c1cfb205ed555d958702f9bba1770d Mon Sep 17 00:00:00 2001 From: adikro Date: Wed, 24 Dec 2025 16:21:00 +0100 Subject: a bunch of changes, renames sys to os and refactored some of the logic --- hm/soft/media.nix | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) (limited to 'hm/soft/media.nix') diff --git a/hm/soft/media.nix b/hm/soft/media.nix index 5b4b06f..b330908 100644 --- a/hm/soft/media.nix +++ b/hm/soft/media.nix @@ -3,47 +3,13 @@ let cfg = config.hm.soft.media; in { - options.hm.soft.media.enable = lib.mkEnableOption "media playback and processing tools"; + options.hm.soft.media.enable = lib.mkEnableOption "media cli tools"; config = lib.mkIf cfg.enable { - programs.mpv = { - enable = true; - config = { - profile = "gpu-hq"; - vo = "gpu-next"; - hwdec = "auto-safe"; - save-position-on-quit = true; - keep-open = "yes"; - sub-auto = "fuzzy"; - volume-max = "200"; - }; - scripts = with pkgs.mpvScripts; [ - webtorrent-mpv-hook - visualizer - videoclip - thumbfast - reload - mpv-subtitle-lines - mpv-notify-send - mpv-cheatsheet - modernz - # modernx - memo - # builtins.autoload - autosubsync-mpv - autosub - ]; - }; - programs.yt-dlp = { - enable = true; - package = pkgs.yt-dlp_git; - }; - home.packages = with pkgs; [ - anime4k - syncplay-nogui ffmpeg imagemagick - exiftool + syncplay-nogui ]; }; } + -- cgit v1.3