Jellyfin: Difference between revisions
imported>Hacker1024 mNo edit summary |
imported>Heartbeast42 Add more detailed copy for how to install and configure nixos |
||
Line 1: | Line 1: | ||
Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. | Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. | ||
== | == Installing & Initial Configuration & Setup == | ||
<code>services.jellyfin.enable = true;</code> | To get up and running with Jellyfin, add the packages <code>pkgs.jellyfin</code> <code>pkgs.jellyfin-web</code> & <code>pkgs.jellyfin-ffmpeg</code> to your `configuration.nix` file as shown below. | ||
<syntaxHighlight lang=nix> | |||
{ | |||
environment.systemPackages = [ | |||
pkgs.jellyfin | |||
pkgs.jellyfin-web | |||
pkgs.jellyfin-ffmpeg | |||
]; | |||
} | |||
</syntaxHighlight> | |||
You'll also need to enable Jellyfin, e.g. | |||
<code>services.Jellyfin.enable = true;</code> | |||
Or for more advanced configuration use something like what's shown below and [https://search.nixos.org/options?query=jellyfin see the docs for more configuration options] | |||
<syntaxHighlight lang=nix> | |||
{ | |||
services.jellyfin = { | |||
enable = true; | |||
openFirewall = true; | |||
}; | |||
} | |||
</syntaxHighlight> | |||
Once you have included the correct packages to be installed, and enabled and configured Jellyfin to your liking, then rebuild your system for changes to take effect. | |||
<syntaxHighlight lang=bash>$ sudo nixos-rebuild switch</syntaxHighlight> | |||
After the rebuild is complete Jellyfin should be running, verify that it is with the following command. | |||
<syntaxHighlight lang=bash>$ sudo systemctl status jellyfin</syntaxHighlight> | |||
<b>If jellyfin is not running</b> you should be able to start it by simply running <code>jellyfin</code> in your terminal. | |||
<syntaxHighlight lang=bash>$ jellyfin</syntaxHighlight> | |||
Finally. After you've verified that Jellyfin is running you can start the configuration process. | |||
* The Jellyfin server should be running on port 8096. | |||
* Go to http://localhost:8096 if your setting this up on your primary computer or want to test your build locally. | |||
* If you're logging into a remote server, replace localhost with the ip address of the server. | |||
== Hardware Transcoding == | == Hardware Transcoding == |