Compare commits

1 Commits

Author SHA1 Message Date
oqyude 3120ceaf40 n8n added 2026-06-14 18:31:49 +03:00
5 changed files with 39 additions and 60 deletions
Generated
+6 -6
View File
@@ -88,11 +88,11 @@
]
},
"locked": {
"lastModified": 1781365335,
"narHash": "sha256-zqDBhXMzfbdlO7F2bGHe7MOtB3xngd/+4ieMHDC+ZXo=",
"lastModified": 1781189114,
"narHash": "sha256-5inaamLgUMWy+MOBE9ChF9QAF1o/74LFuHkI0W/9rqc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "5b6f5733726a1b2ccafb5dec6ac4ca7299fad66c",
"rev": "486595d2cf49cfcd649b58a284fa11ac0e34da22",
"type": "github"
},
"original": {
@@ -191,11 +191,11 @@
},
"nixpkgs-master": {
"locked": {
"lastModified": 1781461743,
"narHash": "sha256-gjBRAyMLpEJ+xtfHNLNE+5iFiSREBMmEYp8hFtL0Afs=",
"lastModified": 1781298072,
"narHash": "sha256-p7sszdPeM3Gm7LA+NrWlxn5Rp6Qp+TGbt2qC/XBCxgI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "94af5fb07bc318fb359ad100ab64457ccbbaf38a",
"rev": "633f0c001a27731ee16cc504e831a4a9ccf071d6",
"type": "github"
},
"original": {
-35
View File
@@ -1,35 +0,0 @@
{
config,
pkgs,
...
}:
{
services.coredns = {
enable = true;
config = ''
zeroq.su:53 {
hosts {
192.168.1.20 agent.zeroq.su
192.168.1.20 bentopdf.zeroq.su
192.168.1.20 calibre.zeroq.su
192.168.1.20 dns.zeroq.su
192.168.1.20 flux.zeroq.su
192.168.1.20 gitea.zeroq.su
192.168.1.20 health.zeroq.su
192.168.1.20 immich.zeroq.su
192.168.1.20 kuma.zeroq.su
192.168.1.20 n8n.zeroq.su
192.168.1.20 nextcloud.zeroq.su
192.168.1.20 office.zeroq.su
fallthrough
}
cache 300
log
}
.:53 {
forward . 1.1.1.1 9.9.9.9
cache 300
}
'';
};
}
-1
View File
@@ -7,7 +7,6 @@
../software/beets
./bentopdf.nix
./calibre-web.nix
./coredns.nix
./gitea.nix
./glances.nix
./immich.nix
+1 -1
View File
@@ -12,7 +12,7 @@ let
in
{
services.n8n = {
enable = false;
enable = true;
environment = {
# N8N_USER_FOLDER = lib.mkForce "${configDir}";
N8N_SECURE_COOKIE = "false";
+32 -17
View File
@@ -34,6 +34,22 @@ in
"office.local" = {
forceSSL = false;
enableACME = false;
# locations = {
# "/" = {
# proxyPass = "http://localhost:8090";
# proxyWebsockets = true;
# };
# };
# extraConfig = ''
# proxy_set_header Host $host;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Forwarded-Host $host;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "upgrade";
# '';
};
"bentopdf.local" = {
forceSSL = false;
@@ -84,23 +100,6 @@ in
client_max_body_size 5G;
'';
};
"nextcloud.zeroq.su" = {
forceSSL = false;
enableACME = false;
locations = {
"/" = {
proxyPass = "http://${server}:10000";
proxyWebsockets = true;
};
"/whiteboard" = {
proxyPass = "http://${server}:3002";
proxyWebsockets = true;
};
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"n8n.local" = {
forceSSL = false;
enableACME = false;
@@ -155,6 +154,22 @@ in
client_max_body_size 5G;
'';
};
# "office.local" = {
# enableACME = false;
# forceSSL = false;
# locations = {
# "/" = {
# proxyPass = "http://${server}:8000"; # 9980
# proxyWebsockets = true;
# };
# };
# extraConfig = ''
# client_max_body_size 5G;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# ''; # absolute_redirect off;
# };
"calibre.local" = {
forceSSL = false;
enableACME = false;