Skip to content

Instantly share code, notes, and snippets.

@jsg2021
jsg2021 / backup
Created April 3, 2020 04:39
1password gpg & ssh backup/restore
#!/usr/bin/env bash
set -e
eval 'SESSION=(${!'"OP_SESSION_"'@})'
if [[ -z $SESSION ]]; then
echo "Login required: eval \$(op signin accountname)"
exit 1;
fi
esphome:
name: esp32-c6
friendly_name: esp32-c6
esp32:
board: esp32-c6-devkitc-1
variant: esp32c6
flash_size: 4MB
framework:
type: esp-idf