xin/bin/mkboot

23 lines
510 B
Plaintext
Raw Permalink Normal View History

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)
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
;;
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
*)
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