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/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
|
||||||
|
|
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