nachtigall: make postgres wait for zfs mount
All checks were successful
Flake checks / Check (pull_request) Successful in 5m23s

This commit is contained in:
b12f 2024-08-25 17:05:06 +02:00
parent a859061bf7
commit cffd3d002e
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -64,6 +64,11 @@
repository = "sftp:u377325@u377325.your-storagebox.de:/backups"; repository = "sftp:u377325@u377325.your-storagebox.de:/backups";
}; };
systemd.services.postgresql = {
after = [ "var-lib-postgresql.mount" ];
requisite = [ "var-lib-postgresql.mount" ];
};
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you