stockholm/deploy
2015-06-14 19:37:30 +02:00

17 lines
269 B
Bash
Executable File

#! /bin/sh
#
# usage: ./deploy HOST
#
set -euf
host=$1
export PATH="$PWD/bin:$PATH"
#export nixpkgs=/var/nixpkgs
export nixpkgs_root=$PWD/tmp/nixpkgs
export config_root=$PWD
export retiolum_hosts=$PWD/hosts
export secrets_root=$PWD/secrets
exec nixos-deploy "$host"