nix-safe-deploy

Deploy NixOS configurations with phone-based confirmation and automatic rollback.

How it works

  1. Run nix-safe-deploy on your NixOS machine
  2. It builds and activates the new configuration with nixos-rebuild test
  3. A QR code appears in the terminal — scan it with your phone
  4. Review the diff and tap Confirm Deploy
  5. If you don't confirm within the timeout, it rolls back automatically

Waiting for a deploy? Scan the QR code from your terminal to get started.

Source: github.com/whazor/nix-safe-deploy