xin/bin/mkboot

23 lines
512 B
Bash
Executable File

#!/usr/bin/env sh
case $1 in
arm | arm64)
nix build .#nixosConfigurations.arm64Install.config.system.build.sdImage
;;
hamie)
nix build .#nixosConfigurations.hamie.config.system.build.sdImage
;;
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
;;
*)
echo "Usage: boot [iso|arm64|arm|hass|reform]"
;;
esac