diff --git a/nixos-module.nix b/nixos-module.nix index 60d2e4e..911bf4a 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -62,7 +62,7 @@ systemd.services.buzzrelay = { wantedBy = [ "multi-user.target" ]; - after = [ "network-online.target" ]; + after = [ "postgresql.service" "network-online.target" ]; serviceConfig = { Type = "notify"; WorkingDirectory = "${buzzrelay}/share/buzzrelay";