diff --git a/hosts/patricknix/net.nix b/hosts/patricknix/net.nix index 7e261c1..be7897a 100644 --- a/hosts/patricknix/net.nix +++ b/hosts/patricknix/net.nix @@ -1,4 +1,9 @@ -{ config, pkgs, ... }: +{ + config, + pkgs, + globals, + ... +}: { environment.persistence."/state".directories = [ "/var/lib/iwd" @@ -83,8 +88,8 @@ clients.main = { port = 51820; environment = { - NB_MANAGEMENT_URL = "https://netbird.${config.secrets.secrets.global.domains.web}"; - NB_ADMIN_URL = "https://netbird.${config.secrets.secrets.global.domains.web}"; + NB_MANAGEMENT_URL = "https://netbird.${globals.domains.web}"; + NB_ADMIN_URL = "https://netbird.${globals.domains.web}"; NB_HOSTNAME = "patricknix"; }; };