Compare commits

..

No commits in common. "08f65884a3493fc70c133996772eeffb49586797" and "4beca9e364d8e4f1cd233081d8eddd48e6c40d85" have entirely different histories.

4 changed files with 28 additions and 24 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 = false; firewall.enable = true;
firewall.allowedTCPPortRanges = [{ firewall.allowedTCPPortRanges = [{
from = 3000; from = 3000;
to = 3100; to = 3100;
@ -30,8 +30,8 @@
secrets = { secrets = {
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

@ -15,7 +15,12 @@
}; };
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,5 +1,5 @@
{ config, ... }: { {
services.n8n = { services.n8n = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
@ -9,12 +9,12 @@
}; };
}; };
systemd.services.n8n.environment = { systemd.services.n8n.environment = {
BILLBEE_API_KEY = config.age.secrets.billbee-api-key.path; BILLBEE_API_KEY = config.age.secrets.bilbee-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,16 +1,15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