Manage remote systems

This commit is contained in:
Charlotte Van Petegem 2020-11-26 22:43:02 +01:00
parent c93bae39fa
commit f211bd408b
No known key found for this signature in database
GPG key ID: 019E764B7184435A
8 changed files with 239 additions and 0 deletions

5
remote.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
set -x
nixos-rebuild --flake .#$1 --target-host root@$1 --build-host localhost $2