summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun4
1 files changed, 3 insertions, 1 deletions
diff --git a/run b/run
index 7461f39ba..073111f1d 100755
--- a/run
+++ b/run
@@ -17,7 +17,9 @@ deploy() {(
main=$1
target=$2
- rsync_filter "$main" \
+ filter=$(rsync_filter "$main")
+
+ echo "$filter" \
| rsync -f '. -' -zvrlptD --delete-excluded ./ "$target":/etc/nixos/
ssh "$target" nixos-rebuild switch -I nixos-config=/etc/nixos/"$main"