replace jellyfin with navidrome
This commit is contained in:
parent
9a89708fb1
commit
c0b2756d5a
2 changed files with 28 additions and 4 deletions
|
|
@ -280,9 +280,16 @@ let secrets = import ../secrets.nix; in
|
||||||
proxyPass = "http://127.0.0.1:9091/transmission/rpc";
|
proxyPass = "http://127.0.0.1:9091/transmission/rpc";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
locations."/jellyfin/" = {
|
#locations."/jellyfin/" = {
|
||||||
#basicAuth = userlist;
|
##basicAuth = userlist;
|
||||||
proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
#proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||||
|
#proxyWebsockets = true;
|
||||||
|
#extraConfig = ''
|
||||||
|
#proxy_buffering off;
|
||||||
|
#'';
|
||||||
|
#};
|
||||||
|
locations."/navidrome" = {
|
||||||
|
proxyPass = "http://127.0.0.1:4533/navidrome";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
@ -332,7 +339,15 @@ let secrets = import ../secrets.nix; in
|
||||||
plantumlLimitSize = 40000;
|
plantumlLimitSize = 40000;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.jellyfin.enable = true;
|
#services.jellyfin.enable = true;
|
||||||
|
|
||||||
|
services.navidrome = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
MusicFolder = "/schijf/music/downloads";
|
||||||
|
BaseUrl = "/navidrome";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
9
secrets.nix
Normal file
9
secrets.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
nginx_userlist = { maestro="het is wel even wennen"; };
|
||||||
|
|
||||||
|
duckdns_token = "4defc2ae-610b-4af7-ac16-17d47f490e75";
|
||||||
|
|
||||||
|
cloudflare_zone_id = "5db5e28fdb4abbc3f55cf2fcab6770c1";
|
||||||
|
cloudflare_dns_record_id = "78960756f79d9bb8188b93d377bac78c";
|
||||||
|
cloudflare_api_token = "7kW9P5gKFbwcTHlYCc21iu7srPfT5_-MP_uuq1BD";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue