diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#! /bin/sh +# +# usage: ./deploy CONFIG [[USER@]HOST] +# +set -euf + +. ./lib/prelude.sh + +user=root +host=$1 + +config=./$host.nix +target=${2-$user@$host} + +verbose deploy "$config" "$target" |