Vaultwarden: Difference between revisions
|  backup folder in the /var/lib/vaultwarden directory would reference itself and is therefore not allowed | |||
| Line 5: | Line 5: | ||
| services.vaultwarden = { | services.vaultwarden = { | ||
|      enable = true; |      enable = true; | ||
|      backupDir = "/var/ |      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 |      # 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) |      # be aware that this file must be created by hand (or via secrets management like sops) | ||