{ config, ... }: { services.teeworlds = { enable = true; 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" "password ${config.services.teeworlds.password}"'`, 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; }; }; }