xin/bin/mkboot

23 lines
547 B
Plaintext
Raw Permalink Normal View History

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
;;
reform)
2024-05-03 14:25:40 -06:00
nix build .#nixosConfigurations.reformInstall.config.system.build.sdImage |& nom
;;
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
*)
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