Encrypted Bitwarden vault backup and restore.
Requires Nix.
Mac with Apple silicon: Download and run the Determinate Nix installer.
Mac x86:
curl -L https://nixos.org/nix/install | shLinux:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- installAll installers create a /nix volume and take a few minutes to complete. Answer yes to any
prompts and allow any system dialogs that pop up. Once complete, open a new terminal before
continuing.
If you used the Mac x86 installer, enable flakes:
mkdir -p ~/.config/nix
echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.confWith Homebrew:
brew tap rayvn-central/brew
brew install wardnWith Nix:
nix profile add github:phoggy/wardnTo install a specific version:
nix profile add github:phoggy/wardn/v0.1.1To upgrade to the latest version:
nix profile upgrade wardnTo run without installing:
nix run github:phoggy/wardnAll dependencies are declared in the flake.nix file in the runtimeDeps list. New dependencies must be added there.
nix run github:phoggy/wardn#restore- backup - Export and encrypt your Bitwarden vault
- restore - Decrypt and import a vault backup