xin/bin/mkboot
2023-09-19 05:35:12 -06:00

23 lines
510 B
Bash
Executable File

#!/usr/bin/env sh
case $1 in
arm | arm64)
nix build .#nixosConfigurations.arm64Install.config.system.build.sdImage
;;
haas)
nix build .#nixosConfigurations.hassInstall.config.system.build.isoImage
;;
iso)
nix build .#nixosConfigurations.isoInstall.config.system.build.isoImage
;;
reform)
nix build .#nixosConfigurations.reformInstall.config.system.build.sdImage
;;
octo)
nix build .#nixosConfigurations.octo.config.system.build.sdImage
;;
*)
echo "Usage: boot [iso|arm64|arm|hass|reform]"
;;
esac