first commit

This commit is contained in:
2025-12-31 12:01:37 +01:00
commit 3b06ef4418
16 changed files with 400 additions and 0 deletions

13
deploy.sh Executable file
View File

@@ -0,0 +1,13 @@
hosts="$1"
shift
if [ -z "$hosts" ]; then
echo "No hosts to deploy"
exit 2
fi
for host in ${hosts//,/ }; do
nixos-rebuild build-vm --flake .\#$host --use-remote-sudo --use-substitutes $@
#nixos-rebuild build-vm --flake .\#$host --target-host $host --use-remote-sudo --use-substitutes $@
done