summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-03-19 23:00:57 +0100
committertv <tv@shackspace.de>2015-05-19 23:10:57 +0200
commit8f0c5e351367e93d753f3160dbfe29071c566dc5 (patch)
tree9055440647d56446d6fe68a3bcbc97d0c55d6edb
parent29ab86a21f64f19b43454fa840552bdb610ae2c2 (diff)
run: juggled with types a bit
-rwxr-xr-xrun4
1 files changed, 2 insertions, 2 deletions
diff --git a/run b/run
index 62d72d1a..7461f39b 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