nadjsfnkadnf

This commit is contained in:
2025-09-24 15:00:32 +03:00
parent 6d464336d2
commit 93844ac7a4
5 changed files with 56 additions and 72 deletions
+3 -3
View File
@@ -5,13 +5,13 @@
{
imports = [
#./cloudflared.nix
# ./open-webui.nix
./open-webui.nix
../software/beets
./calibre-web.nix
# ./memos.nix
# ./trilium.nix
./immich.nix
./mealie.nix
# ./mealie.nix
./miniflux.nix
./nextcloud.nix
./nginx.nix
@@ -20,6 +20,6 @@
./syncthing.nix
./systemd.nix
./transmission.nix
./zerotier.nix
# ./zerotier.nix
];
}
+24 -28
View File
@@ -15,9 +15,9 @@ in
{
services = {
nextcloud-whiteboard-server = {
enable = false;
enable = true;
settings = {
NEXTCLOUD_URL = "http://localhost:10000";
NEXTCLOUD_URL = "https://nextcloud.zeroq.ru";
};
secrets = [ "${inputs.zeroq-credentials}/services/nextcloud/jwt-secret.txt" ];
};
@@ -48,7 +48,6 @@ in
"100.64.0.0"
"192.168.1.20"
"localhost"
"sapphira.latxa-platy.ts.net"
];
trusted_proxies = [
"100.64.1.0"
@@ -63,7 +62,7 @@ in
end_to_end_encryption
groupfolders
impersonate
onlyoffice
# onlyoffice
bookmarks
calendar
contacts
@@ -80,7 +79,7 @@ in
notify_push
polls
previewgenerator
richdocuments
# richdocuments
spreed
tasks
user_oidc
@@ -116,30 +115,27 @@ in
# };
# };
# };
onlyoffice = {
enable = true;
hostname = "onlyoffice.local";
#port = 8999;
#package = stable.onlyoffice-documentserver;
};
#rabbitmq.enable = false;
# onlyoffice = {
# enable = false;
# hostname = "onlyoffice.local";
# };
};
networking.hosts = {
"0.0.0.0" = [
"onlyoffice.local"
];
# "127.0.0.1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# "office.zeroq.com"
# ];
# "::1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# # "office.zeroq.com"
# ];
};
# networking.hosts = {
# "0.0.0.0" = [
# "onlyoffice.local"
# ];
# # "127.0.0.1" = [
# # "nextcloud.zeroq.ru"
# # "collabora.zeroq.ru"
# # "office.zeroq.com"
# # ];
# # "::1" = [
# # "nextcloud.zeroq.ru"
# # "collabora.zeroq.ru"
# # # "office.zeroq.com"
# # ];
# };
# systemd.services.nextcloud-config-collabora =
# let
@@ -183,7 +179,7 @@ in
};
systemd.tmpfiles.rules = [
"z /mnt/nextcloud 0755 nextcloud nextcloud -"
"z /mnt/nextcloud 0750 nextcloud nextcloud -"
];
environment.systemPackages = [
+20 -20
View File
@@ -41,26 +41,26 @@
# }
# ];
# };
"onlyoffice.local" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 8080;
}
{
addr = "192.168.1.20";
port = 8080;
}
];
extraConfig = ''
# Force nginx to return relative redirects. This lets the browser
# figure out the full URL. This ends up working better because it's in
# front of the reverse proxy and has the right protocol, hostname & port.
absolute_redirect off;
'';
};
# "onlyoffice.local" = {
# forceSSL = false;
# enableACME = false;
# listen = [
# {
# addr = "100.64.0.0";
# port = 8080;
# }
# {
# addr = "192.168.1.20";
# port = 8080;
# }
# ];
# extraConfig = ''
# # Force nginx to return relative redirects. This lets the browser
# # figure out the full URL. This ends up working better because it's in
# # front of the reverse proxy and has the right protocol, hostname & port.
# absolute_redirect off;
# '';
# };
# "localhost:9980" = {
# forceSSL = false;
# enableACME = false;
+1 -1
View File
@@ -23,7 +23,7 @@
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OPENAI_API_BASE_URL = "http://localhost:1234/v1";
OPENAI_API_BASE_URL = "http://192.168.1.100:1234/v1";
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
WEBUI_AUTH = "True";
ENABLE_SIGNUP = "True";
+8 -20
View File
@@ -16,18 +16,6 @@ in
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"mealie.zeroq.ru" = {
forceSSL = true;
enableACME = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:9000";
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"flux.zeroq.ru" = {
forceSSL = true;
enableACME = true;
@@ -101,14 +89,14 @@ in
client_max_body_size 5G;
'';
};
# "llm.zeroq.ru" = {
# addSSL = true;
# enableACME = true;
# locations."/" = {
# proxyPass = "http://atoridu.laxta-platy.ts.net:11111";
# proxyWebsockets = true;
# };
# };
"llm.zeroq.ru" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://atoridu.laxta-platy.ts.net:11112";
proxyWebsockets = true;
};
};
};
};
};