blob: d435ec8b1033e48792e5d74c75c71f2d85d1b5af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"
|