Install and enable jellyfin on queen

This commit is contained in:
Lillian Violet 2024-01-01 23:23:53 +01:00
parent 8acfa581f4
commit a3f0b54100
2 changed files with 28 additions and 0 deletions

View file

@ -24,6 +24,7 @@
../../package-configs/postgres/configuration.nix ../../package-configs/postgres/configuration.nix
../../package-configs/postgres/upgrade.nix ../../package-configs/postgres/upgrade.nix
../../package-configs/roundcube/configuration.nix ../../package-configs/roundcube/configuration.nix
../../package-configs/jellyfin/configuration.nix
]; ];
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
@ -98,6 +99,9 @@
aria2 aria2
git-filter-repo git-filter-repo
home-manager home-manager
jellyfin
jellyfin-web
jellyfin-ffmpeg
nextcloud28 nextcloud28
nginx nginx
noto-fonts noto-fonts

View file

@ -0,0 +1,24 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
services.nginx = {
virtualHosts = {
"video.gladtherescake.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8096";
};
};
};
};
services.jellyfin = {
enable = true;
};
}