summaryrefslogtreecommitdiffstats
path: root/deploy
blob: 6034196e1cb4c8ab97dc95df22b7c284205b482a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /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"