xin/mkboot

17 lines
344 B
Plaintext
Raw Permalink Normal View History

2022-08-25 12:21:35 -06:00
#!/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
;;
2022-09-15 10:43:39 -06:00
iso)
nix build .#nixosConfigurations.isoInstall.config.system.build.isoImage
;;
2022-08-25 12:21:35 -06:00
*)
2022-09-15 10:43:39 -06:00
echo "Usage: boot [iso|weather|hass]"
2022-08-25 12:21:35 -06:00
esac