aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-27 19:11:40 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-27 19:11:40 -0700
commit17e4cb65f02fbc6e167650dfedf00c6ab4c83de2 (patch)
treed976a3400328923189b399dfcea5fbcc1b7619d5 /justfile
parent84900c2ccec76fac6f7d8e0cec08dcccb7965314 (diff)
rcon
Diffstat (limited to 'justfile')
-rw-r--r--justfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/justfile b/justfile
index 96c2c25..25e24e9 100644
--- a/justfile
+++ b/justfile
@@ -1,8 +1,13 @@
host := "kassouni@5.78.230.100"
config := "kassouni-net"
+rcon_port := "25575"
+rcon_password := "password"
deploy:
nixos-rebuild switch --flake .#{{config}} --target-host {{host}} --build-host {{host}} --sudo --ask-sudo-password
ssh:
ssh {{host}}
+
+rcon:
+ ssh -t {{host}} mcrcon -H 127.0.0.1 -P {{rcon_port}} -p {{rcon_password}} -t