users/guest: adjust jellyfin-media-player
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m42s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m42s
This commit is contained in:
@@ -8,8 +8,14 @@
|
||||
jellyfin-media-player
|
||||
];
|
||||
|
||||
home.persistence."/state".directories = [
|
||||
".cache/jellyfin.org"
|
||||
];
|
||||
|
||||
home.persistence."/persist".directories = [
|
||||
".config/jellyfin.org"
|
||||
".local/share/jellyfinmediaplayer"
|
||||
".local/share/Jellyfin Media Player"
|
||||
];
|
||||
|
||||
systemd.user.services.jellyfin-media-player = {
|
||||
@@ -22,10 +28,13 @@
|
||||
};
|
||||
Service = {
|
||||
ExecStart = ''
|
||||
${pkgs.gamescope}/bin/gamescope --rt --backend drm -- \
|
||||
${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --tv --scale-factor 2
|
||||
${pkgs.gamescope}/bin/gamescope --hdr-enabled --rt --backend drm -- \
|
||||
${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --scale-factor 2 --tv --fullscreen
|
||||
'';
|
||||
Restart = "always";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@@ -30,8 +30,5 @@
|
||||
'';
|
||||
Restart = "always";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user