# usage: # $ ./deploy.sh # example usage: # $ ./deply.sh 109-199-104-83 109.199.104.83 nix run github:nix-community/nixos-anywhere -- \ --extra-files ~/.ssh/remote_secrets/$2 \ --generate-hardware-config nixos-generate-config ./hardware-configuration.nix \ --flake .#$1 \ --target-host root@$2