Add jellyfin server
And add plex to reverse proxy.
This commit is contained in:
parent
bdf77c9149
commit
d99c948019
3 changed files with 21 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ let
|
|||
"torrent.lan" = "http://192.168.1.65:8080";
|
||||
"books.lan" = "http://192.168.80.4:8010";
|
||||
"recipes.lan" = "http://192.168.80.4:8222";
|
||||
"jelly.lan" = "http://192.168.80.4:8096";
|
||||
"plex.lan" = "http://192.168.1.63:32400";
|
||||
};
|
||||
|
||||
# Normalize sites:
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
../modules/server.nix
|
||||
../modules/syncthing.nix
|
||||
./caddy.nix
|
||||
./jellyfin.nix
|
||||
];
|
||||
|
||||
nix.settings = { sandbox = false; };
|
||||
|
|
|
|||
18
hosts/alt/jellyfin.nix
Normal file
18
hosts/alt/jellyfin.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
users.users.jellyfin.extraGroups = [ "users" "render" "video" ];
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver # Modern driver (iHD) - Best for QuickSync
|
||||
intel-vaapi-driver # Legacy driver (i965) - Fallback
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue