mirror of
https://github.com/NiklasGollenstede/nixos-installer.git
synced 2024-11-25 01:14:13 +01:00
565 B
565 B
- #!/usr/bin/env bash
- << '```bash'
System Installer Script
This is a minimal example for an adjusted NixOS system installation using the functions defined in ../lib/setup-scripts/
.
See its README for more documentation.
(Example) Implementation
# Replace the entry point with the same function:
function install-system {( set -eu # 1: blockDevs
prepare-installer "$@"
do-disk-setup "${argv[0]}"
install-system-to $mnt
)}
# ... could also replace any other function(s) ...