fix: laptop for globals

This commit is contained in:
Patrick 2024-12-25 21:25:11 +01:00
parent 12fd79a9c8
commit 423e8477ea
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -1,4 +1,9 @@
{ config, pkgs, ... }: {
config,
pkgs,
globals,
...
}:
{ {
environment.persistence."/state".directories = [ environment.persistence."/state".directories = [
"/var/lib/iwd" "/var/lib/iwd"
@ -83,8 +88,8 @@
clients.main = { clients.main = {
port = 51820; port = 51820;
environment = { environment = {
NB_MANAGEMENT_URL = "https://netbird.${config.secrets.secrets.global.domains.web}"; NB_MANAGEMENT_URL = "https://netbird.${globals.domains.web}";
NB_ADMIN_URL = "https://netbird.${config.secrets.secrets.global.domains.web}"; NB_ADMIN_URL = "https://netbird.${globals.domains.web}";
NB_HOSTNAME = "patricknix"; NB_HOSTNAME = "patricknix";
}; };
}; };