clean
This commit is contained in:
parent
4ad8fdd8af
commit
db71e5ac5b
1 changed files with 1 additions and 29 deletions
|
|
@ -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. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue