xin/mkboot

17 lines
336 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
;;
*)
echo "Usage: boot [iso|weather|hass]"
;;
esac