blob: e99794ed0f34ea956bc2e63e11b4815b7c507e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/sh
#
# usage: ./deploy HOST [TARGET]
#
set -euf
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 "$@"
|