Nix: dont depend on network.target

This commit is contained in:
Rory&
2026-01-22 07:35:29 +01:00
parent 88500e5fd3
commit 67318a4e92
+1 -1
View File
@@ -223,7 +223,7 @@ in
systemd.services.spacebar-apply-migrations = makeServerTsService {
description = "Spacebar Server - Apply DB migrations";
after = [ "network.target" ] ++ lib.optional config.services.postgresql.enable "postgresql.service";
after = lib.optional config.services.postgresql.enable "postgresql.service";
requires = lib.optional config.services.postgresql.enable "postgresql.service";
environment = builtins.mapAttrs (_: val: builtins.toString val) (
cfg.extraEnvironment