NixOS-Config/nixos/server/package-configs/jellyfin/default.nix

21 lines
428 B
Nix
Raw Permalink Normal View History

{...}: {
2024-01-04 15:41:47 +01:00
users.users.jellyfin.extraGroups = ["nextcloud" "aria2"];
2024-01-01 23:57:45 +01:00
2024-01-01 23:23:53 +01:00
services.nginx = {
virtualHosts = {
"video.gladtherescake.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8096";
2024-01-04 20:15:51 +01:00
proxyWebsockets = true; # needed if you need to use WebSocket
2024-01-01 23:23:53 +01:00
};
};
};
};
services.jellyfin = {
enable = true;
};
}