Add jellyfin server
And add plex to reverse proxy.
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user