From 423e8477ea663e3e1eab01f1d0953be62d863286 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 25 Dec 2024 21:25:11 +0100 Subject: [PATCH] fix: laptop for globals --- hosts/patricknix/net.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"; }; };