aboutsummaryrefslogtreecommitdiff
path: root/justfile
blob: 0bca0ece25a048b4145a1d407b7900840fcfc0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
host := "kassouni@5.78.230.100"
config := "kassouni-net"
rcon_port := "25575"

# RCON port is closed, password is unimportant
rcon_password := "mooshroom" 

deploy:
    nixos-rebuild switch --flake .#{{config}} --target-host {{host}} --use-substitutes --sudo --ask-sudo-password

ssh:
    TERM=xterm ssh {{host}}

rcon:
    ssh -t {{host}} mcrcon -H 127.0.0.1 -P {{rcon_port}} -p {{rcon_password}} -t