beleth-host := "root@88.99.90.90" beleth-user-host:= "xqtc@88.99.90.90" default: @just --choose rebuild: #!/usr/bin/env bash HOSTNAME=$(hostname) if [ $HOSTNAME == "alastor" ]; then nh os switch . -- -vv --impure -j 4; exit fi nh os switch . -- -vv --impure -j 4; beleth: nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}} ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh"