From 0fad426ea4d5c45400317920268b103e183ea8bd Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Tue, 1 Apr 2025 00:07:16 +0200 Subject: [PATCH] feat: fix --- hosts/hitsugibune/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/hitsugibune/configuration.nix b/hosts/hitsugibune/configuration.nix index 57a6ead..19e1506 100644 --- a/hosts/hitsugibune/configuration.nix +++ b/hosts/hitsugibune/configuration.nix @@ -95,7 +95,8 @@ in { description = "Minecraft Server Announcement"; serviceConfig = { Type = "oneshot"; - 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'"; + 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'"; + }; };