Add custom size for NixOS as with the default a fresh install has 3% disk space left

This commit is contained in:
Aaron Honeycutt 2023-03-09 06:56:47 -07:00 committed by Martin Wimpress
parent 245900df66
commit eb608fb5ef

View file

@ -856,6 +856,9 @@ EOF
echo "disk_size=\"2G\"" >> "${CONF_FILE}" echo "disk_size=\"2G\"" >> "${CONF_FILE}"
echo "ram=\"128M\"" >> "${CONF_FILE}" echo "ram=\"128M\"" >> "${CONF_FILE}"
;; ;;
nixos)
echo "disk_size=\"25G\"" >> "${CONF_FILE}"
;;
truenas-scale|truenas-core) truenas-scale|truenas-core)
echo echo
echo "boot=\"legacy\"" >> "${CONF_FILE}" echo "boot=\"legacy\"" >> "${CONF_FILE}"