add service information to mine.shared.meta

This commit is contained in:
eyjhb 2024-08-13 14:42:32 +02:00
parent 74ff08576a
commit 280ad7013d
Signed by: eyjhb
GPG key ID: 609F508E3239F920
5 changed files with 81 additions and 0 deletions

View file

@ -6,5 +6,21 @@
openPorts = true;
motd = "Welcome to ${config.mine.shared.settings.domain}'s Teeworld server!";
password = "XHDThcZGjBW8W4UGZ7bwYVbgPErJobuv";
};
mine.shared.meta.teeworlds = {
name = "Teeworlds";
description = ''We host our own Teeworlds instance. Connect using `nix-shell -p teeworlds --run 'teeworlds "connect teeworlds.fricloud.dk"'`, the password is ${config.services.teeworlds.password}'';
url = "";
package = let
pkg = config.services.teeworlds.package;
in {
name = pkg.pname;
version = pkg.version;
meta = pkg.meta;
};
};
}