Install and enable jellyfin on queen
This commit is contained in:
parent
8acfa581f4
commit
a3f0b54100
|
@ -24,6 +24,7 @@
|
|||
../../package-configs/postgres/configuration.nix
|
||||
../../package-configs/postgres/upgrade.nix
|
||||
../../package-configs/roundcube/configuration.nix
|
||||
../../package-configs/jellyfin/configuration.nix
|
||||
];
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
@ -98,6 +99,9 @@
|
|||
aria2
|
||||
git-filter-repo
|
||||
home-manager
|
||||
jellyfin
|
||||
jellyfin-web
|
||||
jellyfin-ffmpeg
|
||||
nextcloud28
|
||||
nginx
|
||||
noto-fonts
|
||||
|
|
24
nixos/package-configs/jellyfin/configuration.nix
Normal file
24
nixos/package-configs/jellyfin/configuration.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue