diff --git a/modules/nixos/services/vaultwarden.nix b/modules/nixos/services/vaultwarden.nix index f7cfaa7..cc9c6d0 100644 --- a/modules/nixos/services/vaultwarden.nix +++ b/modules/nixos/services/vaultwarden.nix @@ -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 = config.age.secrets.vaultwarden-env.file; + environmentFile = config.age.secrets.vaultwarden.path; config = { # Refer to https://github.com/dani-garcia/vaultwarden/blob/main/.env.template DOMAIN = "https://bitwarden.osbm.dev";