This repository contains Nix configuration of vpsFree.cz infrastructure, i.e. vpsAdminOS-powered nodes, machines and related services run in containers.
Enter the development environment:
nix developThis provides confctl from the pinned flake input (see flake.lock), installs Ruby gems into ./.gems,
and generates man pages into ./.man so man confctl works.
If you prefer nix-shell, shell.nix is a compatibility shim:
nix-shellList machines:
confctl lsBuild a machine:
confctl build <machine>Update flake inputs:
confctl inputs ls
confctl inputs channel ls
confctl inputs channel update --commit '{production,staging}' vpsadminosHosts 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