xin/mkboot

17 lines
336 B
Plaintext
Raw Normal View History

2022-08-25 12:21:35 -06:00
#!/usr/bin/env sh
case $1 in
2022-10-10 06:58:35 -06:00
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]"
;;
2022-08-25 12:21:35 -06:00
esac