xin/bin/mkboot

20 lines
434 B
Plaintext
Raw 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
;;
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