summaryrefslogtreecommitdiff
path: root/hm/soft/media.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
committeradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
commit6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch)
tree3af8cf20967cf10542edd2e51232b1da70002fde /hm/soft/media.nix
parent2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff)
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'hm/soft/media.nix')
-rw-r--r--hm/soft/media.nix40
1 files changed, 3 insertions, 37 deletions
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
];
};
}
+