summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-03-19 23:00:57 +0100
committertv <tv@krebsco.de>2015-05-19 23:10:57 +0200
commit6fef6f0f9cc1d1c262a4e3c72c1f5c2e41ebb11b (patch)
tree9055440647d56446d6fe68a3bcbc97d0c55d6edb
parent0c432c9f449951579d1654c81cfc3ce92c4b599d (diff)
run: juggled with types a bit
-rwxr-xr-xrun4
1 files changed, 2 insertions, 2 deletions
diff --git a/run b/run
index 62d72d1..7461f39 100755
--- a/run
+++ b/run
@@ -12,7 +12,7 @@ main() {
esac
}
-# deploy : nix-file x hostname -> ()
+# deploy : nixos-config x [user@]hostname -> ()
deploy() {(
main=$1
target=$2
@@ -23,7 +23,7 @@ deploy() {(
ssh "$target" nixos-rebuild switch -I nixos-config=/etc/nixos/"$main"
)}
-# rsync_filter : nix-file -> rsync-filter
+# rsync_filter : nixos-config -> rsync-filter
rsync_filter() {(
main=$1