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