1
0
Fork 0
selfhostblocks/docs/examples/vaultwarden/README.md
2023-04-04 00:07:58 -07:00

848 B

Vaultwarden setup

This folder contain an example configuration for setting up Vaultwarden on Linode. But before deploying to linode, you can actually test the deployment locally with VirtualBox.

First, setup NixOS on a Linode instance.

When that's done, explore the files in this folder.

To try it out locally, follow deploy to staging.

nixops set-args --arg domain '"dev.mydomain.com"' --network dev
nixops info --network dev

The TL; DR version is, assuming you're where this file is located:

export NIXOPS_DEPLOYMENT=vaultwarden-staging
export DISNIXOS_USE_NIXOPS=1

nixops create ./network-virtualbox.nix -d vaultwarden-staging

nixops deploy --network dev
nixops reboot

disnixos-env -s services.nix -n network-virtualbox.nix -d distribution.nix