forked from extern/nixos-installer
485 B
485 B
- #!/usr/bin/env bash
- << '```bash'
System Installer Script
This is a minimal example for a NixOS system installation function using the functions defined in ../lib/setup-scripts/
. See its README for more documentation.
Implementation
function install-system {( set -eu # 1: blockDev
prepare-installer "$@"
do-disk-setup "$1"
install-system-to $mnt prompt=true @{config.th.minify.topLevel:-}
)}