use vaultwarden secret

This commit is contained in:
Osman Faruk Bayram 2025-10-31 14:00:01 +03:00
parent 6f96405869
commit 26227941fa

View file

@ -11,7 +11,7 @@
backupDir = "/var/local/vaultwarden/backup";
# in order to avoid having ADMIN_TOKEN in the nix store it can be also set with the help of an environment file
# be aware that this file must be created by hand (or via secrets management like sops)
environmentFile = "/var/lib/vaultwarden/vaultwarden.env";
environmentFile = config.age.secrets.vaultwarden-env.file;
config = {
# Refer to https://github.com/dani-garcia/vaultwarden/blob/main/.env.template
DOMAIN = "https://bitwarden.osbm.dev";