NixOS-Config/nixos/package-configs/jellyfin/configuration.nix
2024-01-01 23:57:45 +01:00

27 lines
398 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
users.users.jellyfin.extraGroups = ["nextcloud"];
services.nginx = {
virtualHosts = {
"video.gladtherescake.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8096";
};
};
};
};
services.jellyfin = {
enable = true;
};
}