NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
379 B

  1. { writers, target, ... }:
  2. writers.writeBash "installer" ''
  3. set -o errexit
  4. set -o nounset
  5. set -o pipefail
  6. set -x
  7. "${target.config.system.build.diskoScript}"
  8. "${target.config.system.build.nixos-install}/bin/nixos-install" \
  9. --root /mnt \
  10. --system "${target.config.system.build.toplevel}" \
  11. --no-channel-copy \
  12. --no-root-password \
  13. --verbose
  14. ''