diff --git a/modules/services/server/vaultwarden.nix b/modules/services/server/vaultwarden.nix index cb9a7b7..224bdf4 100644 --- a/modules/services/server/vaultwarden.nix +++ b/modules/services/server/vaultwarden.nix @@ -34,6 +34,12 @@ }; }; }; + + systemd.services = { + vaultwarden = { + requires = [ "postgresql.service" ]; + }; + }; age.secrets."services/vaultwarden/environment" = { file = ../../../secrets/services/vaultwarden/environment.age; owner = "vaultwarden"; diff --git a/secrets/services/postgresql/initScript.age b/secrets/services/postgresql/initScript.age index 660ee84..501772c 100644 Binary files a/secrets/services/postgresql/initScript.age and b/secrets/services/postgresql/initScript.age differ diff --git a/secrets/services/vaultwarden/environment.age b/secrets/services/vaultwarden/environment.age index f4cf795..2ff3b24 100644 Binary files a/secrets/services/vaultwarden/environment.age and b/secrets/services/vaultwarden/environment.age differ