This repository contains Nix configuration of vpsFree.cz infrastructure, i.e. vpsAdminOS-powered nodes, machines and related services run in containers.
First, setup confctl. For now, confctl
and vpsfree-cz-configuration should be cloned to adjacent directories.
Clone the repositories:
git clone https://github.com/vpsfreecz/confctl
git clone https://github.com/vpsfreecz/vpsfree-cz-configurationChange into the configuration directory and run nix-shell:
cd vpsfree-cz-configuration
nix-shellHosts can be built and deployed using confctl, see
confctl or man confctl for more
information.
# List available hosts
confctl ls
# Build all hosts
confctl build
# Build selected hosts
confctl build "cz.vpsfree/nodes/stg/*"
# Deploy all hosts
confctl deploy
# Try to deploy configuration of selected hosts
confctl deploy "cz.vpsfree/nodes/stg/*" dry-activate