From 43e6fe30f046c2206380653d3d079c9e114a7dfe Mon Sep 17 00:00:00 2001 From: eyjhb Date: Wed, 20 Nov 2024 19:21:07 +0100 Subject: [PATCH] teeworld: fix hardcorded domain --- machines/gerd/services/teeworlds.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/machines/gerd/services/teeworlds.nix b/machines/gerd/services/teeworlds.nix index e43cdbe..738d370 100644 --- a/machines/gerd/services/teeworlds.nix +++ b/machines/gerd/services/teeworlds.nix @@ -11,10 +11,10 @@ password = "$TEEWORLDS_PASSWORD"; }; - mine.shared.meta.teeworlds = { + mine.shared.meta.teeworlds = rec { name = "Teeworlds"; - description = ''We host our own Teeworlds instance. Connect using `nix-shell -p teeworlds --run 'teeworlds "connect teeworlds.fricloud.dk" "password {{secrets.TEEWORLDS_PASSWORD}}"'`, the password is {{secrets.TEEWORLDS_PASSWORD}}''; - url = ""; + description = ''We host our own Teeworlds instance. Connect using `nix-shell -p teeworlds --run 'teeworlds "connect ${url}" "password {{secrets.TEEWORLDS_PASSWORD}}"'`, the password is {{secrets.TEEWORLDS_PASSWORD}}''; + url = "teeworlds.${config.mine.shared.settings.domain}"; secrets.auth = config.age.secrets.teeworlds-env.path;