chore: netbird update AZ-CLD-1

This commit is contained in:
2026-03-04 09:13:02 +01:00
parent bda2755acc
commit e8d8adb626
10 changed files with 154 additions and 24 deletions

View File

@@ -15,7 +15,7 @@
];
routers.n8n = {
rule = "Host(`wf.i.az-intec.com`)";
rule = "Host(`wf.l.az-gruppe.com`)";
tls = {
certResolver = "ionos";
};

View File

@@ -0,0 +1,28 @@
{pkgs, ...}: {
services.netbird.enable = true;
systemd.services.netbird = {
environment = {
NB_DISABLE_SSH_CONFIG = "true";
};
path = [
pkgs.shadow
pkgs.util-linux
];
};
programs.ssh.extraConfig = ''
Match exec "${pkgs.netbird}/bin/netbird ssh detect %h %p"
PreferredAuthentications password,publickey,keyboard-interactive
PasswordAuthentication yes
PubkeyAuthentication yes
BatchMode no
ProxyCommand ${pkgs.netbird}/bin/netbird ssh proxy %h %p
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
CheckHostIP no
LogLevel ERROR
'';
networking.firewall.checkReversePath = "loose";
}