20 lines
430 B
Bash
Executable File
20 lines
430 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
case $1 in
|
|
weather)
|
|
nix build .#nixosConfigurations.weatherInstall.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|weather|hass|reform]"
|
|
;;
|
|
esac
|