diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,9 +1,11 @@ #! /bin/sh # -# usage: ./deploy HOST [TARGET] +# usage: ./deploy HOST # set -euf +host=$1 + export PATH="$PWD/bin:$PATH" #export nixpkgs=/var/nixpkgs export nixpkgs_root=$PWD/tmp/nixpkgs @@ -11,4 +13,4 @@ export config_root=$PWD export retiolum_hosts=$PWD/hosts export secrets_root=$PWD/secrets -exec nixos-deploy "$@" +exec nixos-deploy "$host" |