2022-08-25 12:21:35 -06:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
case $1 in
|
2023-06-06 11:03:18 -06:00
|
|
|
arm | arm64)
|
2023-06-05 14:05:38 -06:00
|
|
|
nix build .#nixosConfigurations.arm64Install.config.system.build.sdImage
|
2022-10-10 06:58:35 -06:00
|
|
|
;;
|
|
|
|
haas)
|
|
|
|
nix build .#nixosConfigurations.hassInstall.config.system.build.isoImage
|
|
|
|
;;
|
|
|
|
iso)
|
|
|
|
nix build .#nixosConfigurations.isoInstall.config.system.build.isoImage
|
|
|
|
;;
|
2022-11-22 20:59:22 -07:00
|
|
|
reform)
|
|
|
|
nix build .#nixosConfigurations.reformInstall.config.system.build.sdImage
|
|
|
|
;;
|
2023-09-19 05:35:12 -06:00
|
|
|
octo)
|
|
|
|
nix build .#nixosConfigurations.octo.config.system.build.sdImage
|
|
|
|
;;
|
2022-10-10 06:58:35 -06:00
|
|
|
*)
|
2023-06-05 14:05:38 -06:00
|
|
|
echo "Usage: boot [iso|arm64|arm|hass|reform]"
|
2022-10-10 06:58:35 -06:00
|
|
|
;;
|
2022-08-25 12:21:35 -06:00
|
|
|
esac
|