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

27 lines
406 B
Nix
Raw Normal View History

2024-01-01 23:23:53 +01:00
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
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";
};
};
};
};
services.jellyfin = {
enable = true;
};
}