Skip to content

nyawox/nixboxes

Repository files navigation

nixboxes

built with nix nixos-unstable GitHub Actions LICENSE

Quick Start

SSH keys in /etc/ssh will be copied over to the new installation.

bin/localinstall

Usage: localinstall -h <hostname> [options]

Options:

 -h, --host <hostname>
   Set the config hostname to install from this flake.

 --secureboot
   Generate secure boot keys.

 --initrdssh
   Generate initrd SSH host keys.

bin/remoteinstall

Usage: remoteinstall -h <hostname> -p <port> -i <ip> [options]

Options:

 -h, --host <hostname>
   Set the config hostname to install from this flake.

 -p, --port <ssh_port>
   Set the SSH port to connect with.

 -i, --ip <ssh_ip>
   Set the destination IP to install.

 --secureboot
   Generate secure boot keys.

 --initrdssh
   Generate initrd SSH host keys.

--initrdssh requires sudo.

Deploy

deploy -k deploys all hosts and keeps garbage collection roots in .deploy-gc.

Pass -s to skip flake checks.