Repository used to hold configs for RPi powered screens at 15th floor on HQ. The configs are read after boot, using their hostname.
Config files are encrypted using sops
Check that the keys from 1pw is used for encrypting files when working with configs.
Keys should be stored in $XDG_CONFIG_HOME/sops/age/keys.txt
(MacOS: $HOME/Library/Application\ Support/sops/age/keys.txt
).
Format:
# Created at:
# public key:
PRIVATE_KEY
Keys can be found at 1pw: Raspberry Pi Dashboards
- Flash the SD card. (Kristian has a premade img). This has sops key set up, wifi credentials, xfce auto start of chrome script.
- Change the hostname in
sudo raspi-config
and reboot. Fix chromuium after hostname change:rm ~/.config/chromium/Singleton*
. sudo apt update && sudo apt upgrade
cd ~/Desktop && ./get-sops.sh
- Update scripts:
cd ~/Desktop && rm chrome-startup.sh && wget https://raw.githubusercontent.com/capralifecycle/liflig-dashboards/master/scripts/chrome-startup.shi && chmod +x chrome-startup.sh
sudo apt install unclutter