From e2ccc0df7c45645c2c6f6afe1bfd6840d4293237 Mon Sep 17 00:00:00 2001 From: jamessucla Date: Fri, 6 Mar 2026 01:14:51 -0800 Subject: [PATCH] Add back RPi3 protip --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50d3eb1..4058122 100644 --- a/README.md +++ b/README.md @@ -89,5 +89,6 @@ To deploy this on a fresh NixOS system for the hackathon without experimental fe ``` 4. Edit your `/etc/nixos/configuration.nix` to include the module and configuration block as shown above. 5. Create the password file: `echo "yourpassword" | sudo tee /run/secrets/xmpp_password && sudo chmod 600 /run/secrets/xmpp_password`. -6. Apply the configuration: `sudo nixos-rebuild switch`. -7. Verify it's running: `systemctl status sovereign-bridge.service`. +6. **Protip for Raspberry Pi 3B+:** add 1GB of swap to prevent OOM during builds: `sudo fallocate -l 1G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile`. +7. Apply the configuration: `sudo nixos-rebuild switch`. +8. Verify it's running: `systemctl status sovereign-bridge.service`.