diff options
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |