This commit is contained in:
Joeri Exelmans 2025-10-02 15:05:47 +02:00
parent 4ad8fdd8af
commit db71e5ac5b

View file

@ -248,6 +248,7 @@ let secrets = import ../secrets.nix; in
userlist = secrets.nginx_userlist; userlist = secrets.nginx_userlist;
commonConfig = { commonConfig = {
root = "/schijf"; root = "/schijf";
locations."/" = { locations."/" = {
basicAuth = userlist; basicAuth = userlist;
extraConfig = '' extraConfig = ''
@ -284,14 +285,6 @@ let secrets = import ../secrets.nix; in
proxyWebsockets = true; proxyWebsockets = true;
}; };
#locations."/jellyfin/" = {
##basicAuth = userlist;
#proxyPass = "http://127.0.0.1:8096/jellyfin/";
#proxyWebsockets = true;
#extraConfig = ''
#proxy_buffering off;
#'';
#};
locations."/navidrome" = { locations."/navidrome" = {
proxyPass = "http://127.0.0.1:4533/navidrome"; proxyPass = "http://127.0.0.1:4533/navidrome";
proxyWebsockets = true; proxyWebsockets = true;
@ -300,19 +293,6 @@ let secrets = import ../secrets.nix; in
''; '';
}; };
# locations."/refinery/" = {
# proxyPass = "http://127.0.0.1:8888/";
# proxyWebsockets = true;
# };
# locations."/refinery/api/" = {
# proxyPass = "http://127.0.0.1:8888/api/";
# extraConfig = ''
# chunked_transfer_encoding off;
# proxy_buffering off;
# proxy_cache off;
# '';
# };
locations."/git/" = { locations."/git/" = {
basicAuth = {}; basicAuth = {};
proxyPass = "http://127.0.0.1:27365/"; proxyPass = "http://127.0.0.1:27365/";
@ -356,8 +336,6 @@ let secrets = import ../secrets.nix; in
plantumlLimitSize = 40000; plantumlLimitSize = 40000;
}; };
#services.jellyfin.enable = true;
services.navidrome = { services.navidrome = {
enable = true; enable = true;
settings = { settings = {
@ -388,15 +366,9 @@ let secrets = import ../secrets.nix; in
downloadDirPermissions = "775"; # transmission: read+write+exec, other: read+exec downloadDirPermissions = "775"; # transmission: read+write+exec, other: read+exec
}; };
# UPnP media playback (local network only) # UPnP media playback (local network only)
services.gnome.rygel.enable = true; services.gnome.rygel.enable = true;
# virtualisation.docker = {
# enable = true;
# };
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave