summaryrefslogtreecommitdiff
path: root/hostnix/elmo/media.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/media.nix')
-rw-r--r--hostnix/elmo/media.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/hostnix/elmo/media.nix b/hostnix/elmo/media.nix
index 5adf9a1..1bf4542 100644
--- a/hostnix/elmo/media.nix
+++ b/hostnix/elmo/media.nix
@@ -1,16 +1,6 @@
{ pkgs, ... }:
# https://nixos.wiki/wiki/Jellyfin
-#
-# Manual configuration:
-# - Create joe and guest users
-# - Administration: Dashboard > Advanced: Networking
-# - Bind to local network address: ::1
-# - Enable IPv6
-# - Add line to /var/lib/jellyfin/config/network.xml (see
-# https://github.com/jellyfin/jellyfin/issues/6940):
-# <DetectNetworkChange>false</DetectNetworkChange>
-
{
hardware.graphics = {
enable = true;
@@ -23,12 +13,21 @@
];
};
+ # Manual configuration:
+ # - Create joe and guest users
+ # - Add Media Library
+ # - /srv/media/Movies
+ # - /srv/media/Shows
+ # - /srv/media/incoming/YouTube (Shows)
+ # - Administration: Dashboard > Playback: Transcoding
+ # TODO try QSV
+ # - Hardware acceleration: VAAPI
services.jellyfin.enable = true;
services.nginx.virtualHosts."jf.mou.fo" = {
enableACME = true;
forceSSL = true;
- locations."/".proxyPass = "http://[::1]:8096";
+ locations."/".proxyPass = "http://127.0.0.1:8096";
};
services.ytdl-sub.instances.main = {
@@ -43,7 +42,7 @@
];
overrides = {
tv_show_directory = "/srv/media/incoming/YouTube";
- date_range_after = "20240101"; # arbitrarily early default
+ date_range_after = "20240101"; # arbitrarily early default
};
embed_thumbnail = true;
subtitles = {