20 lines
434 B
Bash
Executable File
20 lines
434 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
case $1 in
|
|
arm | arm64)
|
|
nix build .#nixosConfigurations.arm64Install.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
|