mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: prepare local mirror web-proxy to speed up internal service access
This commit is contained in:
parent
8148ce9f37
commit
3d12add14d
22 changed files with 139 additions and 3 deletions
|
@ -82,14 +82,20 @@
|
|||
port = 51820;
|
||||
name = "netbird-home";
|
||||
interface = "wt-home";
|
||||
autoStart = false;
|
||||
openFirewall = true;
|
||||
config.ServerSSHAllowed = false;
|
||||
environment = rec {
|
||||
NB_MANAGEMENT_URL = "https://${nodes.sentinel.config.networking.providedDomains.netbird}";
|
||||
NB_ADMIN_URL = NB_MANAGEMENT_URL;
|
||||
NB_HOSTNAME = "home-gateway";
|
||||
};
|
||||
};
|
||||
environment.persistence."/persist".directories = [
|
||||
{
|
||||
directory = "/var/lib/netbird-home";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
|
||||
topology.self.icon = "devices.desktop";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue