feat: chatn

This commit is contained in:
s-prechtl 2025-04-01 00:04:08 +02:00
parent e520172deb
commit 1244620c70

View file

@ -95,7 +95,7 @@ in {
description = "Minecraft Server Announcement";
serviceConfig = {
Type = "oneshot";
ExecStart = ''for i in {1..5}; do mcrcon -H localhost -P 25566 -p "whatisloveohbabydonthurtmedonthurtmenomore" '/title @a title {"text":"This server runs on NixOS","color":"blue","bold":true}'; sleep 1; done'';
ExecStart = "/run/current-system/sw/bin/sh -c 'for i in {1..5}; do /run/current-system/sw/bin/mcrcon -H localhost -P 25566 -p \"whatisloveohbabydonthurtmedonthurtmenomore\" \"/title @a title {\\\"text\\\":\\\"This server runs on NixOS\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true}\"; sleep 2; done'";
};
};