2024-05-03 14:25:40 -06:00
|
|
|
#!/usr/bin/env bash
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
case $1 in
|
2023-06-06 11:03:18 -06:00
|
|
|
arm | arm64)
|
2024-05-03 14:25:40 -06:00
|
|
|
nix build .#nixosConfigurations.arm64Install.config.system.build.sdImage |& nom
|
2022-10-10 06:58:35 -06:00
|
|
|
;;
|
|
|
|
haas)
|
2024-05-03 14:25:40 -06:00
|
|
|
nix build .#nixosConfigurations.hassInstall.config.system.build.isoImage |& nom
|
2022-10-10 06:58:35 -06:00
|
|
|
;;
|
|
|
|
iso)
|
2024-05-03 14:25:40 -06:00
|
|
|
nix build .#nixosConfigurations.isoInstall.config.system.build.isoImage |& nom
|
2022-10-10 06:58:35 -06:00
|
|
|
;;
|
2022-11-22 20:59:22 -07:00
|
|
|
reform)
|
2024-05-03 14:25:40 -06:00
|
|
|
nix build .#nixosConfigurations.reformInstall.config.system.build.sdImage |& nom
|
2022-11-22 20:59:22 -07:00
|
|
|
;;
|
2023-09-19 05:35:12 -06:00
|
|
|
octo)
|
2024-05-03 14:25:40 -06:00
|
|
|
nix build .#nixosConfigurations.octo.config.system.build.sdImage |& nom
|
2023-09-19 05:35:12 -06:00
|
|
|
;;
|
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
|