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;