diff --git a/hosts/nachtigall/apps/postgresql.nix b/hosts/nachtigall/apps/postgresql.nix index 0fa8f848..82d66e7e 100644 --- a/hosts/nachtigall/apps/postgresql.nix +++ b/hosts/nachtigall/apps/postgresql.nix @@ -2,4 +2,12 @@ { services.postgresql.enable = true; + systemd.services.postgresql = { + after = [ + "var-lib-postgresql.mount" + ]; + requisite = [ + "var-lib-postgresql.mount" + ]; + }; }