e59d4f45c0
This reverts commit fac851faf9
.
17 lines
269 B
Bash
Executable file
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"
|