teeworld: fix hardcorded domain

This commit is contained in:
eyjhb 2024-11-20 19:21:07 +01:00
parent 791012f209
commit 43e6fe30f0
No known key found for this signature in database
GPG key ID: 609F508E3239F920

View file

@ -11,10 +11,10 @@
password = "$TEEWORLDS_PASSWORD"; password = "$TEEWORLDS_PASSWORD";
}; };
mine.shared.meta.teeworlds = { mine.shared.meta.teeworlds = rec {
name = "Teeworlds"; 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}}''; 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 = ""; url = "teeworlds.${config.mine.shared.settings.domain}";
secrets.auth = config.age.secrets.teeworlds-env.path; secrets.auth = config.age.secrets.teeworlds-env.path;