error fix

This commit is contained in:
m3tam3re 2023-01-19 12:24:38 +01:00
parent 4beca9e364
commit 6d188bf924
4 changed files with 25 additions and 29 deletions

View File

@ -14,7 +14,7 @@
services.openssh.passwordAuthentication = false; services.openssh.passwordAuthentication = false;
networking = { networking = {
hostName = "lkk-nix-1"; hostName = "lkk-nix-1";
firewall.enable = true; firewall.enable = false;
firewall.allowedTCPPortRanges = [{ firewall.allowedTCPPortRanges = [{
from = 3000; from = 3000;
to = 3100; to = 3100;
@ -31,7 +31,7 @@
mj-smtp-user.file = ../../secrets/mj-smtp-user.age; mj-smtp-user.file = ../../secrets/mj-smtp-user.age;
mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age; mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age;
billbee-api-key.file = ../secrets/billbee-api-key.age; billbee-api-key.file = ../../secrets/billbee-api-key.age;
}; };
identityPaths = [ "/home/m3tam3re/.ssh/lkk-nix-1" ]; identityPaths = [ "/home/m3tam3re/.ssh/lkk-nix-1" ];
}; };

View File

@ -1,6 +1,6 @@
{ config, outputs, ...}: { { config, outputs, ...}: {
virtualisation.oci-containers.containers."baserow" = { virtualisation.oci-containers.containers."baserow" = {
image = "docker.io/baserow/baserow:1.14.0"; image = "docker.io/baserow/baserow:1.13.3";
environment = { environment = {
BASEROW_PUBLIC_URL = "https://db.lanakk.com"; BASEROW_PUBLIC_URL = "https://db.lanakk.com";
EMAIL_SMTP = "in-v3.mailjet.com"; EMAIL_SMTP = "in-v3.mailjet.com";
@ -15,12 +15,7 @@
}; };
services.caddy.extraConfig = '' services.caddy.extraConfig = ''
db.lanakk.com { db.lanakk.com {
reverse_proxy localhost:3001 { reverse_proxy localhost:3001
header_up Host {host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
} }
''; '';

View File

@ -1,4 +1,4 @@
{ { config, ... }: {
services.n8n = { services.n8n = {
enable = true; enable = true;
@ -9,12 +9,12 @@
}; };
}; };
systemd.services.n8n.environment = { systemd.services.n8n.environment = {
BILLBEE_API_KEY = config.age.secrets.bilbee-api-key.path;; BILLBEE_API_KEY = config.age.billbee-api-key.path;
}; };
services.caddy.extraConfig = '' services.caddy.extraConfig = ''
wf.lanakk.com { wf.lanakk.com {
reverse_proxy localhost:5678 reverse_proxy localhost:5678
} }
''; '';
} }

View File

@ -1,15 +1,16 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-rsa DQlE7w -> ssh-rsa DQlE7w
hsfO6BW9zwZ2Uii6c/Dl5o7z4rrYoMw0nQlWCx+2breLo2ye4RQD677onmQ2e0Ke OtpKyKFBd86zVAvGIZuBYZuKO3y79nq9Ak6h08j8f8xPSwXtEtcAJBfgBXQCYdV2
82jseYfcziCl7VtRh5UrDjij3SEdGaYGj8dPQWhYo5/MamZkYM/YVSLhrnKryVeN Z+pY7rMpKx/0rx+nG4/Axl2WwuCIhYrB4ypNxYOAdtrgBGdGQueQfZAcq5aV1aRt
Rg8PDIytDbS5ZXy9SiVt9ZqCg/UqCs/Kz00cYIT8DiKt7Xx+PfyA7Vrl7DXKKYPa KZF1dlcxy3P8CYpodmLZQW+djjGtoDQDIjlNpf/1WPjKEF86Dd+3ihnnGFzIHib5
o1xZF67AYVb575jnZO4UxmbFpSJBa+KF9/U/ZMQS0ldaHX5mSID86llvbvJV0zTY 9hxIc7iwIEVp6atEoqd9I/Cp/kpwUksAhuX906l0vIvCz1YyuW0oWugGa4uN1ruK
aHTyNPCYSUMrI/rbO3au4hOy3YLenfeKDgv4TkK7fxt7EsCFM4vbDuLcycA71/W/ cfCcv4iWqZb/dJg0m/tUH6xXC/njjFs4xh3kauomtYf+PkJ66BK0BfAJenIGwHsm
KoRS3LgdcLHonUbnOu9fx37yAteYF2MI4Qk5EfqEMi4NO+BVhro4zs5rQXthdtAb /t5sI9TzumMm3lfJMjjxqRUfI9Etp9VSe5OcAbeNZkAk84JmU1vddyQ9cQKmJ4il
d5XBEL1+RlY38a7wL0Z/YqRb7oW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