mirror of
https://github.com/NiklasGollenstede/nixos-installer.git
synced 2024-11-22 07:53:28 +01:00
454 B
454 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
)}