aboutsummaryrefslogtreecommitdiff
path: root/modules/programs/jellyfin-mpv-shim.nix
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-06-04 18:51:22 +0200
committerLeander Scherer <leander@schererleander.de>2026-06-11 15:21:42 +0200
commit64192b41b034e5ae7877b6d3f429965cb53cb899 (patch)
treeba72f2cae7be074f7b5ca55e50c5d7fa82e77147 /modules/programs/jellyfin-mpv-shim.nix
parentd82d3be2d8f65d2004d5a20f92bf87070bfefacd (diff)
chore: replace jellyfin-mpv-shim with jellyfin-desktop
Diffstat (limited to 'modules/programs/jellyfin-mpv-shim.nix')
-rw-r--r--modules/programs/jellyfin-mpv-shim.nix47
1 files changed, 0 insertions, 47 deletions
diff --git a/modules/programs/jellyfin-mpv-shim.nix b/modules/programs/jellyfin-mpv-shim.nix
deleted file mode 100644
index b4306c2..0000000
--- a/modules/programs/jellyfin-mpv-shim.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- flake.modules.homeManager.jellyfin-mpv-shim =
- {
- lib,
- ...
- }:
- {
- systemd.user.services.jellyfin-mpv-shim.Service.Environment = [
- "ENABLE_HDR_WSI=1"
- ];
-
- # mpvConfig only supports flat key=value; write full mpv.conf to include profile sections
- xdg.configFile."jellyfin-mpv-shim/mpv.conf".text = ''
- vo=gpu-next
- gpu-api=vulkan
- hwdec=vaapi
- target-colorspace-hint=yes
- target-contrast=inf
- target-peak=500
- hdr-compute-peak=yes
- deband=yes
- video-sync=display-resample
-
- [sdr-to-hdr]
- profile-cond=p["video-params/gamma"] ~= nil and p["video-params/gamma"] ~= "pq" and p["video-params/gamma"] ~= "hlg"
- profile-restore=copy-equal
- inverse-tone-mapping=yes
- tone-mapping=spline
- tone-mapping-mode=rgb
- gamut-mapping-mode=clip
- target-trc=pq
- target-prim=bt.2020
- '';
-
- services.jellyfin-mpv-shim = {
- enable = true;
- settings = {
- player_name = "mpv-shim";
- allow_transcode_to_h265 = true;
- };
- mpvBindings = {
- UP = "add chapter 1";
- DOWN = "add chapter -1";
- };
- };
- };
-}